sbuild (Debian sbuild) 0.85.0 (04 January 2023) on debian-ci-siliconvalley +==============================================================================+ | net-snmp 5.9.5.2+dfsg-2 (riscv64) Thu, 01 Jan 2026 17:23:08 +0000 | +==============================================================================+ Package: net-snmp Version: 5.9.5.2+dfsg-2 Source Version: 5.9.5.2+dfsg-2 Distribution: unstable Machine Architecture: amd64 Host Architecture: riscv64 Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-amd64-sbuild-c1de4c88-2edd-4117-afb1-42f22735d999' with '<>' I: NOTICE: Log filtering will replace 'build/net-snmp-iENydm/resolver-86dIoH' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Get:1 http://localhost:3142/debian unstable InRelease [187 kB] Get:2 http://localhost:3142/debian unstable/main Sources.diff/Index [63.6 kB] Get:3 http://localhost:3142/debian unstable/contrib Sources.diff/Index [63.3 kB] Get:4 http://localhost:3142/debian unstable/main amd64 Packages.diff/Index [63.6 kB] Get:5 http://localhost:3142/debian unstable/main Sources T-2026-01-01-1425.02-F-2026-01-01-0206.36.pdiff [26.3 kB] Get:6 http://localhost:3142/debian unstable/contrib Sources T-2026-01-01-1425.02-F-2026-01-01-1425.02.pdiff [714 B] Get:5 http://localhost:3142/debian unstable/main Sources T-2026-01-01-1425.02-F-2026-01-01-0206.36.pdiff [26.3 kB] Get:7 http://localhost:3142/debian unstable/main amd64 Packages T-2026-01-01-1425.02-F-2026-01-01-0206.36.pdiff [26.4 kB] Get:6 http://localhost:3142/debian unstable/contrib Sources T-2026-01-01-1425.02-F-2026-01-01-1425.02.pdiff [714 B] Get:7 http://localhost:3142/debian unstable/main amd64 Packages T-2026-01-01-1425.02-F-2026-01-01-0206.36.pdiff [26.4 kB] Get:8 http://localhost:3142/debian unstable/main riscv64 Packages [9832 kB] Fetched 10.3 MB in 3s (3631 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... NOTICE: 'net-snmp' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/net-snmp.git Please use: git clone https://salsa.debian.org/debian/net-snmp.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 3745 kB of source archives. Get:1 http://localhost:3142/debian unstable/main net-snmp 5.9.5.2+dfsg-2 (dsc) [2601 B] Get:2 http://localhost:3142/debian unstable/main net-snmp 5.9.5.2+dfsg-2 (tar) [3671 kB] Get:3 http://localhost:3142/debian unstable/main net-snmp 5.9.5.2+dfsg-2 (diff) [70.9 kB] Fetched 3745 kB in 0s (156 MB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/net-snmp-iENydm/net-snmp-5.9.5.2+dfsg' with '<>' I: NOTICE: Log filtering will replace 'build/net-snmp-iENydm' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper-compat (= 12), libtool, libwrap0-dev, libssl-dev, perl:any, perl-xs-dev, autoconf, automake, procps, pkgconf, libsensors-dev, default-libmysqlclient-dev, libpci-dev, libnl-route-3-dev, libc-dev, libstdc++-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-riscv64:amd64, libc-dev:riscv64, libstdc++-dev:riscv64 Merged Build-Conflicts: libsnmp-dev Filtered Build-Depends: debhelper-compat (= 12), libtool, libwrap0-dev, libssl-dev, perl:any, perl-xs-dev, autoconf, automake, procps, pkgconf, libsensors-dev, default-libmysqlclient-dev, libpci-dev, libnl-route-3-dev, libc-dev, libstdc++-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-riscv64:amd64, libc-dev:riscv64, libstdc++-dev:riscv64 Filtered Build-Conflicts: libsnmp-dev dpkg-deb: warning: root directory /<>/sbuild-build-depends-main-dummy has unusual owner or group 1000:119 dpkg-deb: hint: you might need to pass --root-owner-group, see for further details dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [609 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [985 B] Get:5 copy:/<>/apt_archive ./ Packages [959 B] Fetched 2553 B in 0s (0 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... Execute external solver... The following additional packages will be installed: autoconf automake autopoint autotools-dev binutils-riscv64-linux-gnu bsdextrautils cpp-15-riscv64-linux-gnu cpp-riscv64-linux-gnu crossbuild-essential-riscv64 debhelper default-libmysqlclient-dev:riscv64 dh-autoreconf dh-strip-nondeterminism dwz fakeroot file g++-15-riscv64-linux-gnu g++-riscv64-linux-gnu gcc-15-base:riscv64 gcc-15-cross-base gcc-15-riscv64-linux-gnu gcc-15-riscv64-linux-gnu-base gcc-riscv64-linux-gnu gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan8:riscv64 libasan8-riscv64-cross libatomic1:riscv64 libatomic1-riscv64-cross libbz2-1.0:riscv64 libc-gconv-modules-extra:riscv64 libc6:riscv64 libc6-dev:riscv64 libc6-dev-riscv64-cross libc6-riscv64-cross libcap-dev:riscv64 libcap2:riscv64 libcrypt-dev:riscv64 libcrypt1:riscv64 libdb5.3t64:riscv64 libdebhelper-perl libelf1t64 libfakeroot libfile-stripnondeterminism-perl libgcc-15-dev:riscv64 libgcc-15-dev-riscv64-cross libgcc-s1:riscv64 libgcc-s1-riscv64-cross libgdbm-compat4t64:riscv64 libgdbm6t64:riscv64 libgomp1:riscv64 libgomp1-riscv64-cross libitm1:riscv64 libitm1-riscv64-cross liblsan0:riscv64 liblsan0-riscv64-cross libmagic-mgc libmagic1t64 libmariadb-dev:riscv64 libmariadb-dev-compat:riscv64 libmariadb3:riscv64 libncursesw6 libnl-3-200:riscv64 libnl-3-dev:riscv64 libnl-route-3-200:riscv64 libnl-route-3-dev:riscv64 libpci-dev:riscv64 libpci3:riscv64 libperl-dev:riscv64 libperl5.40:riscv64 libpipeline1 libpkgconf3 libproc2-0 libsensors-config libsensors-dev:riscv64 libsensors5:riscv64 libssl-dev:riscv64 libssl3t64:riscv64 libstdc++-15-dev:riscv64 libstdc++-15-dev-riscv64-cross libstdc++6:riscv64 libstdc++6-riscv64-cross libtool libtsan2:riscv64 libtsan2-riscv64-cross libubsan1:riscv64 libubsan1-riscv64-cross libuchardet0 libudev-dev:riscv64 libudev1:riscv64 libunistring5 libwrap0:riscv64 libwrap0-dev:riscv64 libxml2-16 libzstd1:riscv64 linux-libc-dev-riscv64-cross m4 man-db mariadb-common mysql-common pci.ids pkgconf:riscv64 pkgconf-bin po-debconf procps sensible-utils zlib1g:riscv64 zlib1g-dev:riscv64 Suggested packages: autoconf-archive gnu-standards autoconf-doc binutils-doc gcc-15-locales cpp-15-doc cpp-doc dh-make gcc-15-doc manpages-dev flex bison gdb-riscv64-linux-gnu gcc-doc gettext-doc libasprintf-dev libgettextpo-dev gnulib-l10n groff glibc-doc:riscv64 libc-l10n:riscv64 locales:riscv64 libnss-nis:riscv64 libnss-nisplus:riscv64 manpages-dev:riscv64 gdbm-l10n:riscv64 lm-sensors lm-sensors:riscv64 libssl-doc:riscv64 libstdc++-15-doc:riscv64 libtool-doc gfortran | fortran95-compiler m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libidn2-0:riscv64 libarchive-cpio-perl libgpm2 libltdl-dev libmail-sendmail-perl psmisc linux-sysctl-defaults The following NEW packages will be installed: autoconf automake autopoint autotools-dev binutils-riscv64-linux-gnu bsdextrautils cpp-15-riscv64-linux-gnu cpp-riscv64-linux-gnu crossbuild-essential-riscv64 debhelper default-libmysqlclient-dev:riscv64 dh-autoreconf dh-strip-nondeterminism dwz fakeroot file g++-15-riscv64-linux-gnu g++-riscv64-linux-gnu gcc-15-base:riscv64 gcc-15-cross-base gcc-15-riscv64-linux-gnu gcc-15-riscv64-linux-gnu-base gcc-riscv64-linux-gnu gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan8:riscv64 libasan8-riscv64-cross libatomic1:riscv64 libatomic1-riscv64-cross libbz2-1.0:riscv64 libc-gconv-modules-extra:riscv64 libc6:riscv64 libc6-dev:riscv64 libc6-dev-riscv64-cross libc6-riscv64-cross libcap-dev:riscv64 libcap2:riscv64 libcrypt-dev:riscv64 libcrypt1:riscv64 libdb5.3t64:riscv64 libdebhelper-perl libelf1t64 libfakeroot libfile-stripnondeterminism-perl libgcc-15-dev:riscv64 libgcc-15-dev-riscv64-cross libgcc-s1:riscv64 libgcc-s1-riscv64-cross libgdbm-compat4t64:riscv64 libgdbm6t64:riscv64 libgomp1:riscv64 libgomp1-riscv64-cross libitm1:riscv64 libitm1-riscv64-cross liblsan0:riscv64 liblsan0-riscv64-cross libmagic-mgc libmagic1t64 libmariadb-dev:riscv64 libmariadb-dev-compat:riscv64 libmariadb3:riscv64 libncursesw6 libnl-3-200:riscv64 libnl-3-dev:riscv64 libnl-route-3-200:riscv64 libnl-route-3-dev:riscv64 libpci-dev:riscv64 libpci3:riscv64 libperl-dev:riscv64 libperl5.40:riscv64 libpipeline1 libpkgconf3 libproc2-0 libsensors-config libsensors-dev:riscv64 libsensors5:riscv64 libssl-dev:riscv64 libssl3t64:riscv64 libstdc++-15-dev:riscv64 libstdc++-15-dev-riscv64-cross libstdc++6:riscv64 libstdc++6-riscv64-cross libtool libtsan2:riscv64 libtsan2-riscv64-cross libubsan1:riscv64 libubsan1-riscv64-cross libuchardet0 libudev-dev:riscv64 libudev1:riscv64 libunistring5 libwrap0:riscv64 libwrap0-dev:riscv64 libxml2-16 libzstd1:riscv64 linux-libc-dev-riscv64-cross m4 man-db mariadb-common mysql-common pci.ids pkgconf:riscv64 pkgconf-bin po-debconf procps sbuild-build-depends-main-dummy:riscv64 sensible-utils zlib1g:riscv64 zlib1g-dev:riscv64 0 upgraded, 112 newly installed, 0 to remove and 0 not upgraded. Need to get 150 MB of archives. After this operation, 878 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [1016 B] Get:2 http://localhost:3142/debian unstable/main amd64 libncursesw6 amd64 6.5+20251123-1 [136 kB] Get:3 http://localhost:3142/debian unstable/main amd64 libproc2-0 amd64 2:4.0.4-9 [65.6 kB] Get:4 http://localhost:3142/debian unstable/main amd64 procps amd64 2:4.0.4-9 [882 kB] Get:5 http://localhost:3142/debian unstable/main amd64 sensible-utils all 0.0.26 [27.0 kB] Get:6 http://localhost:3142/debian unstable/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get:7 http://localhost:3142/debian unstable/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get:8 http://localhost:3142/debian unstable/main amd64 file amd64 1:5.46-5 [43.6 kB] Get:9 http://localhost:3142/debian unstable/main amd64 gettext-base amd64 0.23.2-1 [245 kB] Get:10 http://localhost:3142/debian unstable/main amd64 libuchardet0 amd64 0.0.8-2 [68.5 kB] Get:11 http://localhost:3142/debian unstable/main amd64 groff-base amd64 1.23.0-10 [1194 kB] Get:12 http://localhost:3142/debian unstable/main amd64 bsdextrautils amd64 2.41.3-3 [99.1 kB] Get:13 http://localhost:3142/debian unstable/main amd64 libpipeline1 amd64 1.5.8-2 [42.1 kB] Get:14 http://localhost:3142/debian unstable/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get:15 http://localhost:3142/debian unstable/main amd64 m4 amd64 1.4.20-2 [325 kB] Get:16 http://localhost:3142/debian unstable/main amd64 autoconf all 2.72-3.1 [494 kB] Get:17 http://localhost:3142/debian unstable/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get:18 http://localhost:3142/debian unstable/main amd64 automake all 1:1.18.1-3 [878 kB] Get:19 http://localhost:3142/debian unstable/main amd64 autopoint all 0.23.2-1 [772 kB] Get:20 http://localhost:3142/debian unstable/main amd64 binutils-riscv64-linux-gnu amd64 2.45.50.20251209-1 [1484 kB] Get:21 http://localhost:3142/debian unstable/main amd64 gcc-15-riscv64-linux-gnu-base amd64 15.2.0-7cross1 [53.5 kB] Get:22 http://localhost:3142/debian unstable/main amd64 cpp-15-riscv64-linux-gnu amd64 15.2.0-7cross1 [14.8 MB] Get:23 http://localhost:3142/debian unstable/main amd64 cpp-riscv64-linux-gnu amd64 4:15.2.0-4 [5288 B] Get:24 http://localhost:3142/debian unstable/main amd64 gcc-15-cross-base all 15.2.0-7cross1 [48.9 kB] Get:25 http://localhost:3142/debian unstable/main amd64 libc6-riscv64-cross all 2.42-4cross1 [1184 kB] Get:26 http://localhost:3142/debian unstable/main amd64 libgcc-s1-riscv64-cross all 15.2.0-7cross1 [61.5 kB] Get:27 http://localhost:3142/debian unstable/main amd64 libgomp1-riscv64-cross all 15.2.0-7cross1 [129 kB] Get:28 http://localhost:3142/debian unstable/main amd64 libitm1-riscv64-cross all 15.2.0-7cross1 [24.9 kB] Get:29 http://localhost:3142/debian unstable/main amd64 libatomic1-riscv64-cross all 15.2.0-7cross1 [8236 B] Get:30 http://localhost:3142/debian unstable/main amd64 libasan8-riscv64-cross all 15.2.0-7cross1 [2927 kB] Get:31 http://localhost:3142/debian unstable/main amd64 liblsan0-riscv64-cross all 15.2.0-7cross1 [1325 kB] Get:32 http://localhost:3142/debian unstable/main amd64 libtsan2-riscv64-cross all 15.2.0-7cross1 [2642 kB] Get:33 http://localhost:3142/debian unstable/main amd64 libstdc++6-riscv64-cross all 15.2.0-7cross1 [665 kB] Get:34 http://localhost:3142/debian unstable/main amd64 libubsan1-riscv64-cross all 15.2.0-7cross1 [1176 kB] Get:35 http://localhost:3142/debian unstable/main amd64 libgcc-15-dev-riscv64-cross all 15.2.0-7cross1 [5721 kB] Get:36 http://localhost:3142/debian unstable/main amd64 gcc-15-riscv64-linux-gnu amd64 15.2.0-7cross1 [28.8 MB] Get:37 http://localhost:3142/debian unstable/main amd64 gcc-riscv64-linux-gnu amd64 4:15.2.0-4 [1444 B] Get:38 http://localhost:3142/debian unstable/main amd64 linux-libc-dev-riscv64-cross all 6.17.10-1cross1 [2371 kB] Get:39 http://localhost:3142/debian unstable/main amd64 libc6-dev-riscv64-cross all 2.42-4cross1 [3159 kB] Get:40 http://localhost:3142/debian unstable/main amd64 libstdc++-15-dev-riscv64-cross all 15.2.0-7cross1 [6427 kB] Get:41 http://localhost:3142/debian unstable/main amd64 g++-15-riscv64-linux-gnu amd64 15.2.0-7cross1 [15.8 MB] Get:42 http://localhost:3142/debian unstable/main amd64 g++-riscv64-linux-gnu amd64 4:15.2.0-4 [1200 B] Get:43 http://localhost:3142/debian unstable/main amd64 crossbuild-essential-riscv64 all 12.12 [3544 B] Get:44 http://localhost:3142/debian unstable/main amd64 libdebhelper-perl all 13.29 [92.6 kB] Get:45 http://localhost:3142/debian unstable/main amd64 libtool all 2.5.4-9 [540 kB] Get:46 http://localhost:3142/debian unstable/main amd64 dh-autoreconf all 21 [12.2 kB] Get:47 http://localhost:3142/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get:48 http://localhost:3142/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.15.0-1 [19.9 kB] Get:49 http://localhost:3142/debian unstable/main amd64 dh-strip-nondeterminism all 1.15.0-1 [8812 B] Get:50 http://localhost:3142/debian unstable/main amd64 libelf1t64 amd64 0.194-1 [185 kB] Get:51 http://localhost:3142/debian unstable/main amd64 dwz amd64 0.16-2 [108 kB] Get:52 http://localhost:3142/debian unstable/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get:53 http://localhost:3142/debian unstable/main amd64 libxml2-16 amd64 2.15.1+dfsg-2+b1 [641 kB] Get:54 http://localhost:3142/debian unstable/main amd64 gettext amd64 0.23.2-1 [1687 kB] Get:55 http://localhost:3142/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get:56 http://localhost:3142/debian unstable/main amd64 po-debconf all 1.0.22 [216 kB] Get:57 http://localhost:3142/debian unstable/main amd64 debhelper all 13.29 [943 kB] Get:58 http://localhost:3142/debian unstable/main amd64 mysql-common all 5.8+1.1.1 [6784 B] Get:59 http://localhost:3142/debian unstable/main amd64 mariadb-common all 1:11.8.5-3 [30.3 kB] Get:60 http://localhost:3142/debian unstable/main riscv64 gcc-15-base riscv64 15.2.0-12 [54.2 kB] Get:61 http://localhost:3142/debian unstable/main riscv64 libgcc-s1 riscv64 15.2.0-12 [61.5 kB] Get:62 http://localhost:3142/debian unstable/main riscv64 libc-gconv-modules-extra riscv64 2.42-6 [1126 kB] Get:63 http://localhost:3142/debian unstable/main riscv64 libc6 riscv64 2.42-6 [1419 kB] Get:64 http://localhost:3142/debian unstable/main riscv64 libzstd1 riscv64 1.5.7+dfsg-2 [372 kB] Get:65 http://localhost:3142/debian unstable/main riscv64 zlib1g riscv64 1:1.3.dfsg+really1.3.1-1+b2 [85.6 kB] Get:66 http://localhost:3142/debian unstable/main riscv64 libssl3t64 riscv64 3.5.4-1 [2206 kB] Get:67 http://localhost:3142/debian unstable/main riscv64 libmariadb3 riscv64 1:11.8.5-3 [194 kB] Get:68 http://localhost:3142/debian unstable/main riscv64 libssl-dev riscv64 3.5.4-1 [6304 kB] Get:69 http://localhost:3142/debian unstable/main riscv64 libcrypt1 riscv64 1:4.5.1-1 [114 kB] Get:70 http://localhost:3142/debian unstable/main riscv64 libcrypt-dev riscv64 1:4.5.1-1 [262 kB] Get:71 http://localhost:3142/debian unstable/main riscv64 libc6-dev riscv64 2.42-6 [3435 kB] Get:72 http://localhost:3142/debian unstable/main riscv64 zlib1g-dev riscv64 1:1.3.dfsg+really1.3.1-1+b2 [995 kB] Get:73 http://localhost:3142/debian unstable/main riscv64 libmariadb-dev riscv64 1:11.8.5-3 [474 kB] Get:74 http://localhost:3142/debian unstable/main riscv64 libmariadb-dev-compat riscv64 1:11.8.5-3 [28.9 kB] Get:75 http://localhost:3142/debian unstable/main riscv64 default-libmysqlclient-dev riscv64 1.1.1 [3252 B] Get:76 http://localhost:3142/debian unstable/main amd64 libfakeroot amd64 1.37.1.2-1 [29.7 kB] Get:77 http://localhost:3142/debian unstable/main amd64 fakeroot amd64 1.37.1.2-1 [76.0 kB] Get:78 http://localhost:3142/debian unstable/main riscv64 libasan8 riscv64 15.2.0-12 [2940 kB] Get:79 http://localhost:3142/debian unstable/main riscv64 libatomic1 riscv64 15.2.0-12 [8548 B] Get:80 http://localhost:3142/debian unstable/main riscv64 libbz2-1.0 riscv64 1.0.8-6 [40.3 kB] Get:81 http://localhost:3142/debian unstable/main riscv64 libcap2 riscv64 1:2.75-10+b5 [29.1 kB] Get:82 http://localhost:3142/debian unstable/main riscv64 libcap-dev riscv64 1:2.75-10+b5 [553 kB] Get:83 http://localhost:3142/debian unstable/main riscv64 libdb5.3t64 riscv64 5.3.28+dfsg2-11 [719 kB] Get:84 http://localhost:3142/debian unstable/main riscv64 libgomp1 riscv64 15.2.0-12 [132 kB] Get:85 http://localhost:3142/debian unstable/main riscv64 libitm1 riscv64 15.2.0-12 [25.4 kB] Get:86 http://localhost:3142/debian unstable/main riscv64 liblsan0 riscv64 15.2.0-12 [1326 kB] Get:87 http://localhost:3142/debian unstable/main riscv64 libtsan2 riscv64 15.2.0-12 [2654 kB] Get:88 http://localhost:3142/debian unstable/main riscv64 libstdc++6 riscv64 15.2.0-12 [715 kB] Get:89 http://localhost:3142/debian unstable/main riscv64 libubsan1 riscv64 15.2.0-12 [1178 kB] Get:90 http://localhost:3142/debian unstable/main riscv64 libgcc-15-dev riscv64 15.2.0-12 [5623 kB] Get:91 http://localhost:3142/debian unstable/main riscv64 libgdbm6t64 riscv64 1.26-1 [79.0 kB] Get:92 http://localhost:3142/debian unstable/main riscv64 libgdbm-compat4t64 riscv64 1.26-1 [52.9 kB] Get:93 http://localhost:3142/debian unstable/main riscv64 libnl-3-200 riscv64 3.12.0-1 [61.8 kB] Get:94 http://localhost:3142/debian unstable/main riscv64 libnl-3-dev riscv64 3.12.0-1 [192 kB] Get:95 http://localhost:3142/debian unstable/main riscv64 libnl-route-3-200 riscv64 3.12.0-1 [200 kB] Get:96 http://localhost:3142/debian unstable/main riscv64 libnl-route-3-dev riscv64 3.12.0-1 [628 kB] Get:97 http://localhost:3142/debian unstable/main riscv64 libudev1 riscv64 259-1 [159 kB] Get:98 http://localhost:3142/debian unstable/main amd64 pci.ids all 0.0~2025.12.16-1 [276 kB] Get:99 http://localhost:3142/debian unstable/main riscv64 libpci3 riscv64 1:3.14.0-1 [74.1 kB] Get:100 http://localhost:3142/debian unstable/main riscv64 libudev-dev riscv64 259-1 [77.8 kB] Get:101 http://localhost:3142/debian unstable/main riscv64 libpci-dev riscv64 1:3.14.0-1 [68.5 kB] Get:102 http://localhost:3142/debian unstable/main riscv64 libperl5.40 riscv64 5.40.1-7 [3952 kB] Get:103 http://localhost:3142/debian unstable/main riscv64 libperl-dev riscv64 5.40.1-7 [3054 kB] Get:104 http://localhost:3142/debian unstable/main amd64 libpkgconf3 amd64 1.8.1-4 [36.4 kB] Get:105 http://localhost:3142/debian unstable/main amd64 libsensors-config all 1:3.6.2-2 [16.2 kB] Get:106 http://localhost:3142/debian unstable/main riscv64 libsensors5 riscv64 1:3.6.2-2 [36.9 kB] Get:107 http://localhost:3142/debian unstable/main riscv64 libsensors-dev riscv64 1:3.6.2-2 [75.5 kB] Get:108 http://localhost:3142/debian unstable/main riscv64 libstdc++-15-dev riscv64 15.2.0-12 [6161 kB] Get:109 http://localhost:3142/debian unstable/main riscv64 libwrap0 riscv64 7.6.q-36 [55.3 kB] Get:110 http://localhost:3142/debian unstable/main riscv64 libwrap0-dev riscv64 7.6.q-36 [39.7 kB] Get:111 http://localhost:3142/debian unstable/main amd64 pkgconf-bin amd64 1.8.1-4 [30.2 kB] Get:112 http://localhost:3142/debian unstable/main riscv64 pkgconf riscv64 1.8.1-4 [26.1 kB] Preconfiguring packages ... Fetched 150 MB in 1s (207 MB/s) Selecting previously unselected package libncursesw6:amd64. (Reading database ... 12924 files and directories currently installed.) Preparing to unpack .../000-libncursesw6_6.5+20251123-1_amd64.deb ... Unpacking libncursesw6:amd64 (6.5+20251123-1) ... Selecting previously unselected package libproc2-0:amd64. Preparing to unpack .../001-libproc2-0_2%3a4.0.4-9_amd64.deb ... Unpacking libproc2-0:amd64 (2:4.0.4-9) ... Selecting previously unselected package procps. Preparing to unpack .../002-procps_2%3a4.0.4-9_amd64.deb ... Unpacking procps (2:4.0.4-9) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../003-sensible-utils_0.0.26_all.deb ... Unpacking sensible-utils (0.0.26) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../004-libmagic-mgc_1%3a5.46-5_amd64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../005-libmagic1t64_1%3a5.46-5_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../006-file_1%3a5.46-5_amd64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../007-gettext-base_0.23.2-1_amd64.deb ... Unpacking gettext-base (0.23.2-1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../008-libuchardet0_0.0.8-2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-2) ... Selecting previously unselected package groff-base. Preparing to unpack .../009-groff-base_1.23.0-10_amd64.deb ... Unpacking groff-base (1.23.0-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../010-bsdextrautils_2.41.3-3_amd64.deb ... Unpacking bsdextrautils (2.41.3-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../011-libpipeline1_1.5.8-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-2) ... Selecting previously unselected package man-db. Preparing to unpack .../012-man-db_2.13.1-1_amd64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../013-m4_1.4.20-2_amd64.deb ... Unpacking m4 (1.4.20-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../014-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../015-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../016-automake_1%3a1.18.1-3_all.deb ... Unpacking automake (1:1.18.1-3) ... Selecting previously unselected package autopoint. Preparing to unpack .../017-autopoint_0.23.2-1_all.deb ... Unpacking autopoint (0.23.2-1) ... Selecting previously unselected package binutils-riscv64-linux-gnu. Preparing to unpack .../018-binutils-riscv64-linux-gnu_2.45.50.20251209-1_amd64.deb ... Unpacking binutils-riscv64-linux-gnu (2.45.50.20251209-1) ... Selecting previously unselected package gcc-15-riscv64-linux-gnu-base:amd64. Preparing to unpack .../019-gcc-15-riscv64-linux-gnu-base_15.2.0-7cross1_amd64.deb ... Unpacking gcc-15-riscv64-linux-gnu-base:amd64 (15.2.0-7cross1) ... Selecting previously unselected package cpp-15-riscv64-linux-gnu. Preparing to unpack .../020-cpp-15-riscv64-linux-gnu_15.2.0-7cross1_amd64.deb ... Unpacking cpp-15-riscv64-linux-gnu (15.2.0-7cross1) ... Selecting previously unselected package cpp-riscv64-linux-gnu. Preparing to unpack .../021-cpp-riscv64-linux-gnu_4%3a15.2.0-4_amd64.deb ... Unpacking cpp-riscv64-linux-gnu (4:15.2.0-4) ... Selecting previously unselected package gcc-15-cross-base. Preparing to unpack .../022-gcc-15-cross-base_15.2.0-7cross1_all.deb ... Unpacking gcc-15-cross-base (15.2.0-7cross1) ... Selecting previously unselected package libc6-riscv64-cross. Preparing to unpack .../023-libc6-riscv64-cross_2.42-4cross1_all.deb ... Unpacking libc6-riscv64-cross (2.42-4cross1) ... Selecting previously unselected package libgcc-s1-riscv64-cross. Preparing to unpack .../024-libgcc-s1-riscv64-cross_15.2.0-7cross1_all.deb ... Unpacking libgcc-s1-riscv64-cross (15.2.0-7cross1) ... Selecting previously unselected package libgomp1-riscv64-cross. Preparing to unpack .../025-libgomp1-riscv64-cross_15.2.0-7cross1_all.deb ... Unpacking libgomp1-riscv64-cross (15.2.0-7cross1) ... Selecting previously unselected package libitm1-riscv64-cross. Preparing to unpack .../026-libitm1-riscv64-cross_15.2.0-7cross1_all.deb ... Unpacking libitm1-riscv64-cross (15.2.0-7cross1) ... Selecting previously unselected package libatomic1-riscv64-cross. Preparing to unpack .../027-libatomic1-riscv64-cross_15.2.0-7cross1_all.deb ... Unpacking libatomic1-riscv64-cross (15.2.0-7cross1) ... Selecting previously unselected package libasan8-riscv64-cross. Preparing to unpack .../028-libasan8-riscv64-cross_15.2.0-7cross1_all.deb ... Unpacking libasan8-riscv64-cross (15.2.0-7cross1) ... Selecting previously unselected package liblsan0-riscv64-cross. Preparing to unpack .../029-liblsan0-riscv64-cross_15.2.0-7cross1_all.deb ... Unpacking liblsan0-riscv64-cross (15.2.0-7cross1) ... Selecting previously unselected package libtsan2-riscv64-cross. Preparing to unpack .../030-libtsan2-riscv64-cross_15.2.0-7cross1_all.deb ... Unpacking libtsan2-riscv64-cross (15.2.0-7cross1) ... Selecting previously unselected package libstdc++6-riscv64-cross. Preparing to unpack .../031-libstdc++6-riscv64-cross_15.2.0-7cross1_all.deb ... Unpacking libstdc++6-riscv64-cross (15.2.0-7cross1) ... Selecting previously unselected package libubsan1-riscv64-cross. Preparing to unpack .../032-libubsan1-riscv64-cross_15.2.0-7cross1_all.deb ... Unpacking libubsan1-riscv64-cross (15.2.0-7cross1) ... Selecting previously unselected package libgcc-15-dev-riscv64-cross. Preparing to unpack .../033-libgcc-15-dev-riscv64-cross_15.2.0-7cross1_all.deb ... Unpacking libgcc-15-dev-riscv64-cross (15.2.0-7cross1) ... Selecting previously unselected package gcc-15-riscv64-linux-gnu. Preparing to unpack .../034-gcc-15-riscv64-linux-gnu_15.2.0-7cross1_amd64.deb ... Unpacking gcc-15-riscv64-linux-gnu (15.2.0-7cross1) ... Selecting previously unselected package gcc-riscv64-linux-gnu. Preparing to unpack .../035-gcc-riscv64-linux-gnu_4%3a15.2.0-4_amd64.deb ... Unpacking gcc-riscv64-linux-gnu (4:15.2.0-4) ... Selecting previously unselected package linux-libc-dev-riscv64-cross. Preparing to unpack .../036-linux-libc-dev-riscv64-cross_6.17.10-1cross1_all.deb ... Unpacking linux-libc-dev-riscv64-cross (6.17.10-1cross1) ... Selecting previously unselected package libc6-dev-riscv64-cross. Preparing to unpack .../037-libc6-dev-riscv64-cross_2.42-4cross1_all.deb ... Unpacking libc6-dev-riscv64-cross (2.42-4cross1) ... Selecting previously unselected package libstdc++-15-dev-riscv64-cross. Preparing to unpack .../038-libstdc++-15-dev-riscv64-cross_15.2.0-7cross1_all.deb ... Unpacking libstdc++-15-dev-riscv64-cross (15.2.0-7cross1) ... Selecting previously unselected package g++-15-riscv64-linux-gnu. Preparing to unpack .../039-g++-15-riscv64-linux-gnu_15.2.0-7cross1_amd64.deb ... Unpacking g++-15-riscv64-linux-gnu (15.2.0-7cross1) ... Selecting previously unselected package g++-riscv64-linux-gnu. Preparing to unpack .../040-g++-riscv64-linux-gnu_4%3a15.2.0-4_amd64.deb ... Unpacking g++-riscv64-linux-gnu (4:15.2.0-4) ... Selecting previously unselected package crossbuild-essential-riscv64. Preparing to unpack .../041-crossbuild-essential-riscv64_12.12_all.deb ... Unpacking crossbuild-essential-riscv64 (12.12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../042-libdebhelper-perl_13.29_all.deb ... Unpacking libdebhelper-perl (13.29) ... Selecting previously unselected package libtool. Preparing to unpack .../043-libtool_2.5.4-9_all.deb ... Unpacking libtool (2.5.4-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../044-dh-autoreconf_21_all.deb ... Unpacking dh-autoreconf (21) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../045-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../046-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../047-dh-strip-nondeterminism_1.15.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.15.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../048-libelf1t64_0.194-1_amd64.deb ... Unpacking libelf1t64:amd64 (0.194-1) ... Selecting previously unselected package dwz. Preparing to unpack .../049-dwz_0.16-2_amd64.deb ... Unpacking dwz (0.16-2) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../050-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2-16:amd64. Preparing to unpack .../051-libxml2-16_2.15.1+dfsg-2+b1_amd64.deb ... Unpacking libxml2-16:amd64 (2.15.1+dfsg-2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../052-gettext_0.23.2-1_amd64.deb ... Unpacking gettext (0.23.2-1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../053-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../054-po-debconf_1.0.22_all.deb ... Unpacking po-debconf (1.0.22) ... Selecting previously unselected package debhelper. Preparing to unpack .../055-debhelper_13.29_all.deb ... Unpacking debhelper (13.29) ... Selecting previously unselected package mysql-common. Preparing to unpack .../056-mysql-common_5.8+1.1.1_all.deb ... Unpacking mysql-common (5.8+1.1.1) ... Selecting previously unselected package mariadb-common. Preparing to unpack .../057-mariadb-common_1%3a11.8.5-3_all.deb ... Unpacking mariadb-common (1:11.8.5-3) ... Selecting previously unselected package gcc-15-base:riscv64. Preparing to unpack .../058-gcc-15-base_15.2.0-12_riscv64.deb ... Unpacking gcc-15-base:riscv64 (15.2.0-12) ... Selecting previously unselected package libgcc-s1:riscv64. Preparing to unpack .../059-libgcc-s1_15.2.0-12_riscv64.deb ... Unpacking libgcc-s1:riscv64 (15.2.0-12) ... Selecting previously unselected package libc-gconv-modules-extra:riscv64. Preparing to unpack .../060-libc-gconv-modules-extra_2.42-6_riscv64.deb ... Unpacking libc-gconv-modules-extra:riscv64 (2.42-6) ... Selecting previously unselected package libc6:riscv64. Preparing to unpack .../061-libc6_2.42-6_riscv64.deb ... Unpacking libc6:riscv64 (2.42-6) ... Selecting previously unselected package libzstd1:riscv64. Preparing to unpack .../062-libzstd1_1.5.7+dfsg-2_riscv64.deb ... Unpacking libzstd1:riscv64 (1.5.7+dfsg-2) ... Selecting previously unselected package zlib1g:riscv64. Preparing to unpack .../063-zlib1g_1%3a1.3.dfsg+really1.3.1-1+b2_riscv64.deb ... Unpacking zlib1g:riscv64 (1:1.3.dfsg+really1.3.1-1+b2) ... Selecting previously unselected package libssl3t64:riscv64. Preparing to unpack .../064-libssl3t64_3.5.4-1_riscv64.deb ... Unpacking libssl3t64:riscv64 (3.5.4-1) ... Selecting previously unselected package libmariadb3:riscv64. Preparing to unpack .../065-libmariadb3_1%3a11.8.5-3_riscv64.deb ... Unpacking libmariadb3:riscv64 (1:11.8.5-3) ... Selecting previously unselected package libssl-dev:riscv64. Preparing to unpack .../066-libssl-dev_3.5.4-1_riscv64.deb ... Unpacking libssl-dev:riscv64 (3.5.4-1) ... Selecting previously unselected package libcrypt1:riscv64. Preparing to unpack .../067-libcrypt1_1%3a4.5.1-1_riscv64.deb ... Unpacking libcrypt1:riscv64 (1:4.5.1-1) ... Selecting previously unselected package libcrypt-dev:riscv64. Preparing to unpack .../068-libcrypt-dev_1%3a4.5.1-1_riscv64.deb ... Unpacking libcrypt-dev:riscv64 (1:4.5.1-1) ... Selecting previously unselected package libc6-dev:riscv64. Preparing to unpack .../069-libc6-dev_2.42-6_riscv64.deb ... Unpacking libc6-dev:riscv64 (2.42-6) ... Selecting previously unselected package zlib1g-dev:riscv64. Preparing to unpack .../070-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b2_riscv64.deb ... Unpacking zlib1g-dev:riscv64 (1:1.3.dfsg+really1.3.1-1+b2) ... Selecting previously unselected package libmariadb-dev:riscv64. Preparing to unpack .../071-libmariadb-dev_1%3a11.8.5-3_riscv64.deb ... Unpacking libmariadb-dev:riscv64 (1:11.8.5-3) ... Selecting previously unselected package libmariadb-dev-compat:riscv64. Preparing to unpack .../072-libmariadb-dev-compat_1%3a11.8.5-3_riscv64.deb ... Unpacking libmariadb-dev-compat:riscv64 (1:11.8.5-3) ... Selecting previously unselected package default-libmysqlclient-dev:riscv64. Preparing to unpack .../073-default-libmysqlclient-dev_1.1.1_riscv64.deb ... Unpacking default-libmysqlclient-dev:riscv64 (1.1.1) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../074-libfakeroot_1.37.1.2-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.37.1.2-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../075-fakeroot_1.37.1.2-1_amd64.deb ... Unpacking fakeroot (1.37.1.2-1) ... Selecting previously unselected package libasan8:riscv64. Preparing to unpack .../076-libasan8_15.2.0-12_riscv64.deb ... Unpacking libasan8:riscv64 (15.2.0-12) ... Selecting previously unselected package libatomic1:riscv64. Preparing to unpack .../077-libatomic1_15.2.0-12_riscv64.deb ... Unpacking libatomic1:riscv64 (15.2.0-12) ... Selecting previously unselected package libbz2-1.0:riscv64. Preparing to unpack .../078-libbz2-1.0_1.0.8-6_riscv64.deb ... Unpacking libbz2-1.0:riscv64 (1.0.8-6) ... Selecting previously unselected package libcap2:riscv64. Preparing to unpack .../079-libcap2_1%3a2.75-10+b5_riscv64.deb ... Unpacking libcap2:riscv64 (1:2.75-10+b5) ... Selecting previously unselected package libcap-dev:riscv64. Preparing to unpack .../080-libcap-dev_1%3a2.75-10+b5_riscv64.deb ... Unpacking libcap-dev:riscv64 (1:2.75-10+b5) ... Selecting previously unselected package libdb5.3t64:riscv64. Preparing to unpack .../081-libdb5.3t64_5.3.28+dfsg2-11_riscv64.deb ... Unpacking libdb5.3t64:riscv64 (5.3.28+dfsg2-11) ... Selecting previously unselected package libgomp1:riscv64. Preparing to unpack .../082-libgomp1_15.2.0-12_riscv64.deb ... Unpacking libgomp1:riscv64 (15.2.0-12) ... Selecting previously unselected package libitm1:riscv64. Preparing to unpack .../083-libitm1_15.2.0-12_riscv64.deb ... Unpacking libitm1:riscv64 (15.2.0-12) ... Selecting previously unselected package liblsan0:riscv64. Preparing to unpack .../084-liblsan0_15.2.0-12_riscv64.deb ... Unpacking liblsan0:riscv64 (15.2.0-12) ... Selecting previously unselected package libtsan2:riscv64. Preparing to unpack .../085-libtsan2_15.2.0-12_riscv64.deb ... Unpacking libtsan2:riscv64 (15.2.0-12) ... Selecting previously unselected package libstdc++6:riscv64. Preparing to unpack .../086-libstdc++6_15.2.0-12_riscv64.deb ... Unpacking libstdc++6:riscv64 (15.2.0-12) ... Selecting previously unselected package libubsan1:riscv64. Preparing to unpack .../087-libubsan1_15.2.0-12_riscv64.deb ... Unpacking libubsan1:riscv64 (15.2.0-12) ... Selecting previously unselected package libgcc-15-dev:riscv64. Preparing to unpack .../088-libgcc-15-dev_15.2.0-12_riscv64.deb ... Unpacking libgcc-15-dev:riscv64 (15.2.0-12) ... Selecting previously unselected package libgdbm6t64:riscv64. Preparing to unpack .../089-libgdbm6t64_1.26-1_riscv64.deb ... Unpacking libgdbm6t64:riscv64 (1.26-1) ... Selecting previously unselected package libgdbm-compat4t64:riscv64. Preparing to unpack .../090-libgdbm-compat4t64_1.26-1_riscv64.deb ... Unpacking libgdbm-compat4t64:riscv64 (1.26-1) ... Selecting previously unselected package libnl-3-200:riscv64. Preparing to unpack .../091-libnl-3-200_3.12.0-1_riscv64.deb ... Unpacking libnl-3-200:riscv64 (3.12.0-1) ... Selecting previously unselected package libnl-3-dev:riscv64. Preparing to unpack .../092-libnl-3-dev_3.12.0-1_riscv64.deb ... Unpacking libnl-3-dev:riscv64 (3.12.0-1) ... Selecting previously unselected package libnl-route-3-200:riscv64. Preparing to unpack .../093-libnl-route-3-200_3.12.0-1_riscv64.deb ... Unpacking libnl-route-3-200:riscv64 (3.12.0-1) ... Selecting previously unselected package libnl-route-3-dev:riscv64. Preparing to unpack .../094-libnl-route-3-dev_3.12.0-1_riscv64.deb ... Unpacking libnl-route-3-dev:riscv64 (3.12.0-1) ... Selecting previously unselected package libudev1:riscv64. Preparing to unpack .../095-libudev1_259-1_riscv64.deb ... Unpacking libudev1:riscv64 (259-1) ... Selecting previously unselected package pci.ids. Preparing to unpack .../096-pci.ids_0.0~2025.12.16-1_all.deb ... Unpacking pci.ids (0.0~2025.12.16-1) ... Selecting previously unselected package libpci3:riscv64. Preparing to unpack .../097-libpci3_1%3a3.14.0-1_riscv64.deb ... Unpacking libpci3:riscv64 (1:3.14.0-1) ... Selecting previously unselected package libudev-dev:riscv64. Preparing to unpack .../098-libudev-dev_259-1_riscv64.deb ... Unpacking libudev-dev:riscv64 (259-1) ... Selecting previously unselected package libpci-dev:riscv64. Preparing to unpack .../099-libpci-dev_1%3a3.14.0-1_riscv64.deb ... Unpacking libpci-dev:riscv64 (1:3.14.0-1) ... Selecting previously unselected package libperl5.40:riscv64. Preparing to unpack .../100-libperl5.40_5.40.1-7_riscv64.deb ... Unpacking libperl5.40:riscv64 (5.40.1-7) ... Selecting previously unselected package libperl-dev:riscv64. Preparing to unpack .../101-libperl-dev_5.40.1-7_riscv64.deb ... Unpacking libperl-dev:riscv64 (5.40.1-7) ... Selecting previously unselected package libpkgconf3:amd64. Preparing to unpack .../102-libpkgconf3_1.8.1-4_amd64.deb ... Unpacking libpkgconf3:amd64 (1.8.1-4) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../103-libsensors-config_1%3a3.6.2-2_all.deb ... Unpacking libsensors-config (1:3.6.2-2) ... Selecting previously unselected package libsensors5:riscv64. Preparing to unpack .../104-libsensors5_1%3a3.6.2-2_riscv64.deb ... Unpacking libsensors5:riscv64 (1:3.6.2-2) ... Selecting previously unselected package libsensors-dev:riscv64. Preparing to unpack .../105-libsensors-dev_1%3a3.6.2-2_riscv64.deb ... Unpacking libsensors-dev:riscv64 (1:3.6.2-2) ... Selecting previously unselected package libstdc++-15-dev:riscv64. Preparing to unpack .../106-libstdc++-15-dev_15.2.0-12_riscv64.deb ... Unpacking libstdc++-15-dev:riscv64 (15.2.0-12) ... Selecting previously unselected package libwrap0:riscv64. Preparing to unpack .../107-libwrap0_7.6.q-36_riscv64.deb ... Unpacking libwrap0:riscv64 (7.6.q-36) ... Selecting previously unselected package libwrap0-dev:riscv64. Preparing to unpack .../108-libwrap0-dev_7.6.q-36_riscv64.deb ... Unpacking libwrap0-dev:riscv64 (7.6.q-36) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../109-pkgconf-bin_1.8.1-4_amd64.deb ... Unpacking pkgconf-bin (1.8.1-4) ... Selecting previously unselected package pkgconf:riscv64. Preparing to unpack .../110-pkgconf_1.8.1-4_riscv64.deb ... Unpacking pkgconf:riscv64 (1.8.1-4) ... Selecting previously unselected package sbuild-build-depends-main-dummy:riscv64. Preparing to unpack .../111-sbuild-build-depends-main-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-main-dummy:riscv64 (0.invalid.0) ... Setting up libc-gconv-modules-extra:riscv64 (2.42-6) ... Setting up libpipeline1:amd64 (1.5.8-2) ... Setting up mysql-common (5.8+1.1.1) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up pci.ids (0.0~2025.12.16-1) ... Setting up bsdextrautils (2.41.3-3) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libxml2-16:amd64 (2.15.1+dfsg-2+b1) ... Setting up libdebhelper-perl (13.29) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up libsensors-config (1:3.6.2-2) ... Setting up gettext-base (0.23.2-1) ... Setting up binutils-riscv64-linux-gnu (2.45.50.20251209-1) ... Setting up m4 (1.4.20-2) ... Setting up file (1:5.46-5) ... Setting up libfakeroot:amd64 (1.37.1.2-1) ... Setting up libelf1t64:amd64 (0.194-1) ... Setting up fakeroot (1.37.1.2-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up mariadb-common (1:11.8.5-3) ... update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up autotools-dev (20240727.1) ... Setting up gcc-15-riscv64-linux-gnu-base:amd64 (15.2.0-7cross1) ... Setting up libpkgconf3:amd64 (1.8.1-4) ... Setting up libproc2-0:amd64 (2:4.0.4-9) ... Setting up libunistring5:amd64 (1.3-2) ... Setting up autopoint (0.23.2-1) ... Setting up pkgconf-bin (1.8.1-4) ... Setting up libncursesw6:amd64 (6.5+20251123-1) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.16-2) ... Setting up sensible-utils (0.0.26) ... Setting up libuchardet0:amd64 (0.0.8-2) ... Setting up procps (2:4.0.4-9) ... Setting up linux-libc-dev-riscv64-cross (6.17.10-1cross1) ... Setting up cpp-15-riscv64-linux-gnu (15.2.0-7cross1) ... Setting up libc6-riscv64-cross (2.42-4cross1) ... Setting up gcc-15-cross-base (15.2.0-7cross1) ... Setting up libatomic1-riscv64-cross (15.2.0-7cross1) ... Setting up gcc-15-base:riscv64 (15.2.0-12) ... Setting up cpp-riscv64-linux-gnu (4:15.2.0-4) ... Setting up automake (1:1.18.1-3) ... update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... Setting up gettext (0.23.2-1) ... Setting up libtool (2.5.4-9) ... Setting up libitm1-riscv64-cross (15.2.0-7cross1) ... Setting up pkgconf:riscv64 (1.8.1-4) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (21) ... Setting up libgcc-s1-riscv64-cross (15.2.0-7cross1) ... Setting up dh-strip-nondeterminism (1.15.0-1) ... Setting up groff-base (1.23.0-10) ... Setting up libc6-dev-riscv64-cross (2.42-4cross1) ... Setting up libasan8-riscv64-cross (15.2.0-7cross1) ... Setting up libgomp1-riscv64-cross (15.2.0-7cross1) ... Setting up libstdc++6-riscv64-cross (15.2.0-7cross1) ... Setting up libubsan1-riscv64-cross (15.2.0-7cross1) ... Setting up po-debconf (1.0.22) ... Setting up liblsan0-riscv64-cross (15.2.0-7cross1) ... Setting up libtsan2-riscv64-cross (15.2.0-7cross1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libgcc-15-dev-riscv64-cross (15.2.0-7cross1) ... Setting up libstdc++-15-dev-riscv64-cross (15.2.0-7cross1) ... Setting up gcc-15-riscv64-linux-gnu (15.2.0-7cross1) ... Setting up debhelper (13.29) ... Setting up gcc-riscv64-linux-gnu (4:15.2.0-4) ... Setting up g++-15-riscv64-linux-gnu (15.2.0-7cross1) ... Setting up g++-riscv64-linux-gnu (4:15.2.0-4) ... Setting up crossbuild-essential-riscv64 (12.12) ... Setting up libgcc-s1:riscv64 (15.2.0-12) ... Setting up libc6:riscv64 (2.42-6) ... Setting up libdb5.3t64:riscv64 (5.3.28+dfsg2-11) ... Setting up libudev1:riscv64 (259-1) ... Setting up libasan8:riscv64 (15.2.0-12) ... Setting up libnl-3-200:riscv64 (3.12.0-1) ... Setting up libtsan2:riscv64 (15.2.0-12) ... Setting up libbz2-1.0:riscv64 (1.0.8-6) ... Setting up libstdc++6:riscv64 (15.2.0-12) ... Setting up liblsan0:riscv64 (15.2.0-12) ... Setting up libitm1:riscv64 (15.2.0-12) ... Setting up libzstd1:riscv64 (1.5.7+dfsg-2) ... Setting up libgdbm6t64:riscv64 (1.26-1) ... Setting up libgdbm-compat4t64:riscv64 (1.26-1) ... Setting up zlib1g:riscv64 (1:1.3.dfsg+really1.3.1-1+b2) ... Setting up libcrypt1:riscv64 (1:4.5.1-1) ... Setting up libgomp1:riscv64 (15.2.0-12) ... Setting up libcap2:riscv64 (1:2.75-10+b5) ... Setting up libnl-route-3-200:riscv64 (3.12.0-1) ... Setting up libperl5.40:riscv64 (5.40.1-7) ... Setting up libwrap0:riscv64 (7.6.q-36) ... Setting up libatomic1:riscv64 (15.2.0-12) ... Setting up libsensors5:riscv64 (1:3.6.2-2) ... Setting up libubsan1:riscv64 (15.2.0-12) ... Setting up libpci3:riscv64 (1:3.14.0-1) ... Setting up libnl-3-dev:riscv64 (3.12.0-1) ... Setting up libcrypt-dev:riscv64 (1:4.5.1-1) ... Setting up libwrap0-dev:riscv64 (7.6.q-36) ... Setting up libc6-dev:riscv64 (2.42-6) ... Setting up libsensors-dev:riscv64 (1:3.6.2-2) ... Setting up libcap-dev:riscv64 (1:2.75-10+b5) ... Setting up libgcc-15-dev:riscv64 (15.2.0-12) ... Setting up libssl3t64:riscv64 (3.5.4-1) ... Setting up libperl-dev:riscv64 (5.40.1-7) ... Setting up libnl-route-3-dev:riscv64 (3.12.0-1) ... Setting up libstdc++-15-dev:riscv64 (15.2.0-12) ... Setting up libssl-dev:riscv64 (3.5.4-1) ... Setting up libmariadb3:riscv64 (1:11.8.5-3) ... Setting up libudev-dev:riscv64 (259-1) ... Setting up zlib1g-dev:riscv64 (1:1.3.dfsg+really1.3.1-1+b2) ... Setting up libpci-dev:riscv64 (1:3.14.0-1) ... Setting up libmariadb-dev:riscv64 (1:11.8.5-3) ... Setting up libmariadb-dev-compat:riscv64 (1:11.8.5-3) ... Setting up default-libmysqlclient-dev:riscv64 (1.1.1) ... Setting up sbuild-build-depends-main-dummy:riscv64 (0.invalid.0) ... Processing triggers for libc-bin (2.42-6) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (riscv64 included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) amd64 (x86_64) Toolchain package versions: binutils_2.45.50.20251209-1 dpkg-dev_1.23.3 g++-15_15.2.0-12 gcc-15_15.2.0-12 libc6-dev_2.42-6 libstdc++-15-dev_15.2.0-12 libstdc++-15-dev-riscv64-cross_15.2.0-7cross1 libstdc++6_15.2.0-12 libstdc++6-riscv64-cross_15.2.0-7cross1 linux-libc-dev_6.17.13-1 Package versions: apt_3.1.12 apt-utils_3.1.12 autoconf_2.72-3.1 automake_1:1.18.1-3 autopoint_0.23.2-1 autotools-dev_20240727.1 base-files_14 base-passwd_3.6.8 bash_5.3-1 binutils_2.45.50.20251209-1 binutils-common_2.45.50.20251209-1 binutils-riscv64-linux-gnu_2.45.50.20251209-1 binutils-x86-64-linux-gnu_2.45.50.20251209-1 bsdextrautils_2.41.3-3 bsdutils_1:2.41.3-3 build-essential_12.12 bzip2_1.0.8-6 coreutils_9.7-3 cpp_4:15.2.0-4 cpp-15_15.2.0-12 cpp-15-riscv64-linux-gnu_15.2.0-7cross1 cpp-15-x86-64-linux-gnu_15.2.0-12 cpp-riscv64-linux-gnu_4:15.2.0-4 cpp-x86-64-linux-gnu_4:15.2.0-4 crossbuild-essential-riscv64_12.12 dash_0.5.12-12 debconf_1.5.91 debhelper_13.29 debian-archive-keyring_2025.1 debianutils_5.23.2 default-libmysqlclient-dev_1.1.1 dh-autoreconf_21 dh-strip-nondeterminism_1.15.0-1 diffutils_1:3.12-1 dpkg_1.23.3 dpkg-dev_1.23.3 dwz_0.16-2 fakeroot_1.37.1.2-1 file_1:5.46-5 findutils_4.10.0-3 g++_4:15.2.0-4 g++-15_15.2.0-12 g++-15-riscv64-linux-gnu_15.2.0-7cross1 g++-15-x86-64-linux-gnu_15.2.0-12 g++-riscv64-linux-gnu_4:15.2.0-4 g++-x86-64-linux-gnu_4:15.2.0-4 gcc_4:15.2.0-4 gcc-15_15.2.0-12 gcc-15-base_15.2.0-12 gcc-15-cross-base_15.2.0-7cross1 gcc-15-riscv64-linux-gnu_15.2.0-7cross1 gcc-15-riscv64-linux-gnu-base_15.2.0-7cross1 gcc-15-x86-64-linux-gnu_15.2.0-12 gcc-riscv64-linux-gnu_4:15.2.0-4 gcc-x86-64-linux-gnu_4:15.2.0-4 gettext_0.23.2-1 gettext-base_0.23.2-1 grep_3.12-1 groff-base_1.23.0-10 gzip_1.13-1 hostname_3.25 init-system-helpers_1.69 intltool-debian_0.35.0+20060710.6 libacl1_2.3.2-2+b1 libapt-pkg7.0_3.1.12 libarchive-zip-perl_1.68-1 libasan8_15.2.0-12 libasan8-riscv64-cross_15.2.0-7cross1 libatomic1_15.2.0-12 libatomic1-riscv64-cross_15.2.0-7cross1 libattr1_1:2.5.2-3 libaudit-common_1:4.1.2-1 libaudit1_1:4.1.2-1+b1 libbinutils_2.45.50.20251209-1 libblkid1_2.41.3-3 libbsd0_0.12.2-2 libbz2-1.0_1.0.8-6 libc-bin_2.42-6 libc-dev-bin_2.42-6 libc-gconv-modules-extra_2.42-6 libc6_2.42-6 libc6-dev_2.42-6 libc6-dev-riscv64-cross_2.42-4cross1 libc6-riscv64-cross_2.42-4cross1 libcap-dev_1:2.75-10+b5 libcap-ng0_0.8.5-4+b2 libcap2_1:2.75-10+b5 libcc1-0_15.2.0-12 libcrypt-dev_1:4.5.1-1 libcrypt1_1:4.5.1-1 libctf-nobfd0_2.45.50.20251209-1 libctf0_2.45.50.20251209-1 libdb5.3t64_5.3.28+dfsg2-11 libdebconfclient0_0.282+b2 libdebhelper-perl_13.29 libdpkg-perl_1.23.3 libelf1t64_0.194-1 libfakeroot_1.37.1.2-1 libfile-stripnondeterminism-perl_1.15.0-1 libgcc-15-dev_15.2.0-12 libgcc-15-dev-riscv64-cross_15.2.0-7cross1 libgcc-s1_15.2.0-12 libgcc-s1-riscv64-cross_15.2.0-7cross1 libgdbm-compat4t64_1.26-1 libgdbm6t64_1.26-1 libgmp10_2:6.3.0+dfsg-5 libgomp1_15.2.0-12 libgomp1-riscv64-cross_15.2.0-7cross1 libgprofng0_2.45.50.20251209-1 libhogweed6t64_3.10.2-1 libhwasan0_15.2.0-12 libisl23_0.27-1 libitm1_15.2.0-12 libitm1-riscv64-cross_15.2.0-7cross1 libjansson4_2.14-2+b4 liblsan0_15.2.0-12 liblsan0-riscv64-cross_15.2.0-7cross1 liblz4-1_1.10.0-6 liblzma5_5.8.2-1 libmagic-mgc_1:5.46-5 libmagic1t64_1:5.46-5 libmariadb-dev_1:11.8.5-3 libmariadb-dev-compat_1:11.8.5-3 libmariadb3_1:11.8.5-3 libmd0_1.1.0-2+b1 libmount1_2.41.3-3 libmpc3_1.3.1-2 libmpfr6_4.2.2-2 libncursesw6_6.5+20251123-1 libnettle8t64_3.10.2-1 libnl-3-200_3.12.0-1 libnl-3-dev_3.12.0-1 libnl-route-3-200_3.12.0-1 libnl-route-3-dev_3.12.0-1 libpam-modules_1.7.0-5 libpam-modules-bin_1.7.0-5 libpam-runtime_1.7.0-5 libpam0g_1.7.0-5 libpci-dev_1:3.14.0-1 libpci3_1:3.14.0-1 libpcre2-8-0_10.46-1 libperl-dev_5.40.1-7 libperl5.40_5.40.1-7 libpipeline1_1.5.8-2 libpkgconf3_1.8.1-4 libproc2-0_2:4.0.4-9 libquadmath0_15.2.0-12 libseccomp2_2.6.0-2+b1 libselinux1_3.9-4+b1 libsemanage-common_3.9-1 libsemanage2_3.9-1+b1 libsensors-config_1:3.6.2-2 libsensors-dev_1:3.6.2-2 libsensors5_1:3.6.2-2 libsepol2_3.9-2 libsframe2_2.45.50.20251209-1 libsmartcols1_2.41.3-3 libssl-dev_3.5.4-1 libssl3t64_3.5.4-1 libstdc++-15-dev_15.2.0-12 libstdc++-15-dev-riscv64-cross_15.2.0-7cross1 libstdc++6_15.2.0-12 libstdc++6-riscv64-cross_15.2.0-7cross1 libsystemd0_259-1 libtinfo6_6.5+20251123-1 libtool_2.5.4-9 libtsan2_15.2.0-12 libtsan2-riscv64-cross_15.2.0-7cross1 libubsan1_15.2.0-12 libubsan1-riscv64-cross_15.2.0-7cross1 libuchardet0_0.0.8-2 libudev-dev_259-1 libudev1_259-1 libunistring5_1.3-2 libuuid1_2.41.3-3 libwrap0_7.6.q-36 libwrap0-dev_7.6.q-36 libxml2-16_2.15.1+dfsg-2+b1 libxxhash0_0.8.3-2 libzstd1_1.5.7+dfsg-2 linux-libc-dev_6.17.13-1 linux-libc-dev-riscv64-cross_6.17.10-1cross1 login_1:4.16.0-2+really2.41.3-3 login.defs_1:4.18.0-2 m4_1.4.20-2 make_4.4.1-3 man-db_2.13.1-1 mariadb-common_1:11.8.5-3 mawk_1.3.4.20250131-2 mount_2.41.3-3 mysql-common_5.8+1.1.1 ncurses-base_6.5+20251123-1 ncurses-bin_6.5+20251123-1 openssl-provider-legacy_3.5.4-1 passwd_1:4.18.0-2 patch_2.8-2 pci.ids_0.0~2025.12.16-1 perl_5.40.1-7 perl-base_5.40.1-7 perl-modules-5.40_5.40.1-7 pkgconf_1.8.1-4 pkgconf-bin_1.8.1-4 po-debconf_1.0.22 procps_2:4.0.4-9 rpcsvc-proto_1.4.3-1 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-2 sensible-utils_0.0.26 sqv_1.3.0-5 sysvinit-utils_3.15-6 tar_1.35+dfsg-3.1 tzdata_2025c-3 util-linux_2.41.3-3 xz-utils_5.8.2-1 zlib1g_1:1.3.dfsg+really1.3.1-1+b2 zlib1g-dev_1:1.3.dfsg+really1.3.1-1+b2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: net-snmp Binary: snmpd, snmptrapd, snmp, libsnmp-base, libsnmp45, libnetsnmptrapd45, libsnmp-dev, libsnmp-perl, tkmib Architecture: any all Version: 5.9.5.2+dfsg-2 Maintainer: Craig Small Homepage: https://net-snmp.sourceforge.net/ Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/debian/net-snmp Vcs-Git: https://salsa.debian.org/debian/net-snmp.git Testsuite: autopkgtest Testsuite-Triggers: build-essential Build-Depends: debhelper-compat (= 12), libtool, libwrap0-dev, libssl-dev, perl:any, perl-xs-dev, autoconf, automake, procps, pkgconf, libbsd-dev [kfreebsd-any], libkvm-dev [kfreebsd-any], libsensors-dev [linux-any], default-libmysqlclient-dev, libpci-dev, libnl-route-3-dev Build-Conflicts: libsnmp-dev Package-List: libnetsnmptrapd45 deb libs optional arch=any libsnmp-base deb libs optional arch=all libsnmp-dev deb libdevel optional arch=any libsnmp-perl deb perl optional arch=any libsnmp45 deb libs optional arch=any snmp deb net optional arch=any snmpd deb net optional arch=any snmptrapd deb net optional arch=any tkmib deb net optional arch=all Checksums-Sha1: 932adfa8ad73e574704e420eb0967ae7bef3f174 3671280 net-snmp_5.9.5.2+dfsg.orig.tar.xz 817a8b08ac25903d4c073f083784f47acf1fce0b 70856 net-snmp_5.9.5.2+dfsg-2.debian.tar.xz Checksums-Sha256: ca1d12ac950eb64ba3b7a5f3ef193e5c16118652551f2b963be987490691ebed 3671280 net-snmp_5.9.5.2+dfsg.orig.tar.xz d642149b875b37e11b251d8436beb9cdeb8e8c0e6713493183b95e73d9890c68 70856 net-snmp_5.9.5.2+dfsg-2.debian.tar.xz Files: f61d57a2904fa759489b0cfe36aee649 3671280 net-snmp_5.9.5.2+dfsg.orig.tar.xz f243cb1efedffb923f81fcaee888bb5e 70856 net-snmp_5.9.5.2+dfsg-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEXT3w9TizJ8CqeneiAiFmwP88hOMFAmlTCIUACgkQAiFmwP88 hOMxDQ//av+bptVEbpgTvv9KngUPJYBxDRua3aQ3pDMIZzRrKcnaK+VTqA2maHRv sc3PaxidOmgXPsrzi+DoPVtdc89Lni8skdXB8I0H3J9jqgLiQY+OEMoiTIKPqfOT 6QIzdFKqxD/mpWwztu8qdlySP8ErUX6wuZ96LbNa0CM7ZHcWES9Uqyy/deGygjvV eiODSonRrbJuedMk++Fs/R/7KWs9kGSLLJiEtp5GKoMN0Ad6/pjVr/Dx2JNY6O3y jawV3ix7/4JHpaXnVtUoguVhAYlkKAlPyQA6jLlNI0sevXLboX3yRX9ksbO6F7eA N8ZW0P18YmFU+9A0LwL5E0naJZXP4+ljOVMnQsEb1Rqm6p8JZzQ5ARPnu762iePk sBUPiDK8m+kIQb2p2BxXNykOYlKit27q76hS5yqO2Afry9t/9Gp32kB6l1qynycp rvCZ2sbtwLdp4zTHDCaonP4da4KKJxLkbhdbuxf4doU0awWHw96k+RkDeuP5NMSC MjRQuhwSrKO96vNbsr+g/lX28SHnajKMYnHfOLFxJ+y2/vPGUksU4fvjFidczYkJ Q5mlWtK5HE738euzPbyErfYpL1Gy6AnM8aoJyuC1JYzHJtBp6Ffezokgjo+3nr2x 2h9zEojgpPmsyO85eNznk58HXieSOJCfCKU1tH6KZRhN8O5yLZQ= =7FiT -----END PGP SIGNATURE----- dpkg-source: warning: cannot verify inline signature for ./net-snmp_5.9.5.2+dfsg-2.dsc: missing OpenPGP keyrings dpkg-source: info: verifying ./net-snmp_5.9.5.2+dfsg-2.dsc dpkg-source: info: skipping absent keyring /usr/share/keyrings/debian-keyring.pgp dpkg-source: info: skipping absent keyring /usr/share/keyrings/debian-tag2upload.pgp dpkg-source: info: skipping absent keyring /usr/share/keyrings/debian-nonupload.pgp dpkg-source: info: skipping absent keyring /usr/share/keyrings/debian-maintainers.pgp dpkg-source: info: extracting net-snmp in /<> dpkg-source: info: unpacking net-snmp_5.9.5.2+dfsg.orig.tar.xz dpkg-source: info: unpacking net-snmp_5.9.5.2+dfsg-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying pingmib_perl_path dpkg-source: info: applying 02_statistics.patch dpkg-source: info: applying 03_makefiles.patch dpkg-source: info: applying 05_searchdirs.patch dpkg-source: info: applying 06_extramibs.patch dpkg-source: info: applying 07_docfiles.patch dpkg-source: info: applying 60_libsensors_api.patch dpkg-source: info: applying 62_add_lib_cflags.patch dpkg-source: info: applying 64_missing_lib.patch dpkg-source: info: applying fix_snmpcheck_perl_path.patch dpkg-source: info: applying snmptranslate.1.patch dpkg-source: info: applying fix_spelling_error.patch dpkg-source: info: applying fix_typo_in_snmpd.conf.patch dpkg-source: info: applying fix_manpage-has-errors_break_line.patch dpkg-source: info: applying add_rocommunity6.patch dpkg-source: info: applying fix-request-id-0.patch dpkg-source: info: applying 0026-fix-Bug-785380-incorrect-date-format.patch dpkg-source: info: applying 0027-fix-455707-traptoemail-use-FQDN.patch dpkg-source: info: applying let_perl_access_engineid.diff dpkg-source: info: applying fix_perl_bulk_gets.diff dpkg-source: info: applying do_not_callback_for_failed_reports.diff dpkg-source: info: applying callback_print.diff dpkg-source: info: applying fix_engineid_reprobe.diff dpkg-source: info: applying snmpwalk_args_in_snmpcheck dpkg-source: info: applying snmpd_pidfile_mode dpkg-source: info: applying snmpcmd_1_groff dpkg-source: info: applying netsnmp_mib_api_3_groff dpkg-source: info: applying snmplib_error_subcontainer dpkg-source: info: applying apps_makefile_use_ldflags dpkg-source: info: applying agent_silent_eacces dpkg-source: info: applying agent_swinst_dpkg_date dpkg-source: info: applying snmpd_conf_5_ro_extend dpkg-source: info: applying perl_makefile_man3pods dpkg-source: info: applying ci_libmariadb-dev dpkg-source: info: applying mib2c_perl_error dpkg-source: info: applying net-snmp-create-v3-user_paths dpkg-source: info: applying snmptrapd_correct_mysql_includes dpkg-source: info: applying makefile_trap_needs_agent dpkg-source: info: applying includes_fix_national_encoding dpkg-source: info: applying manpages-no-C-font Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf CONFIG_SITE=/etc/dpkg-cross/cross-config.riscv64 DEB_BUILD_OPTIONS=nocheck HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LOGNAME=crossqa OLDPWD=/home/crossqa PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SBUILD_CONFIG=/tmp/tmp.dK78Yf9Cbl/sbuild.conf SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=sid-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=crossqa SCHROOT_SESSION_ID=sid-amd64-sbuild-c1de4c88-2edd-4117-afb1-42f22735d999 SCHROOT_UID=1000 SCHROOT_USER=crossqa SHELL=/bin/sh USER=crossqa XDG_SESSION_CLASS=user dpkg-buildpackage ----------------- Command: dpkg-buildpackage --sanitize-env -ariscv64 -Pcross,nocheck -us -uc -B -rfakeroot --jobs-try=1 dpkg-buildpackage: info: source package net-snmp dpkg-buildpackage: info: source version 5.9.5.2+dfsg-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Craig Small dpkg-architecture: warning: specified GNU system type riscv64-linux-gnu does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable dpkg-source --before-build . dpkg-buildpackage: info: host architecture riscv64 debian/rules clean dh clean debian/rules override_dh_clean make[1]: Entering directory '/<>' dh_clean rm -rf `find . -name .libs` \ dist/generation-scripts/gen-variables \ perl/SNMP/t/snmptest.cmd \ perl/TrapReceiver/const-c.inc \ perl/TrapReceiver/const-xs.inc make[1]: Leaving directory '/<>' debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Remember to add 'LT_INIT' to configure.ac. configure.d/config_os_headers:11: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.d/config_os_headers:11: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.d/config_os_headers:11: the top level configure.d/config_project_types:15: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.d/config_project_types:15: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.d/config_project_types:15: the top level configure.d/config_os_functions:17: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.d/config_os_functions:17: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.d/config_os_functions:17: the top level configure.d/config_os_functions:19: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.d/config_os_functions:19: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.d/config_os_functions:19: the top level debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' dh_auto_configure -- --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \ --with-persistent-directory=/var/lib/snmp \ --enable-ucd-snmp-compatibility \ --with-cflags="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE" \ --with-ldflags="-Wl,-z,relro -Wl,-z,now" \ --with-perl-modules="INSTALLDIRS=vendor" --enable-as-needed \ --with-logfile=none \ --without-rpm --with-libwrap --with-openssl \ --without-dmalloc --without-efence --without-rsaref \ --with-sys-contact="root" --with-sys-location="Unknown" \ --with-mib-modules="smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host" \ --with-out-mib-modules="" \ --with-transports="TLSTCP DTLSUDP" \ --with-security-modules="tsm" \ --enable-mfd-rewrites \ --with-mnttab=/etc/mtab \ --with-mibdirs="\$HOME/.snmp/mibs:"/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf"" \ --with-mysql \ --with-systemd \ --enable-blumenthal-aes \ UNAMEPROG=/bin/uname \ PSPROG=/bin/ps \ --with-defaults ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/riscv64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --host=riscv64-linux-gnu --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --with-persistent-directory=/var/lib/snmp --enable-ucd-snmp-compatibility --with-cflags="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE" --with-ldflags="-Wl,-z,relro -Wl,-z,now" --with-perl-modules=INSTALLDIRS=vendor --enable-as-needed --with-logfile=none --without-rpm --with-libwrap --with-openssl --without-dmalloc --without-efence --without-rsaref --with-sys-contact=root --with-sys-location=Unknown --with-mib-modules="smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host" --with-out-mib-modules= --with-transports="TLSTCP DTLSUDP" --with-security-modules=tsm --enable-mfd-rewrites --with-mnttab=/etc/mtab --with-mibdirs=\$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf --with-mysql --with-systemd --enable-blumenthal-aes UNAMEPROG=/bin/uname PSPROG=/bin/ps --with-defaults checking for riscv64-linux-gnu-gcc... riscv64-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether riscv64-linux-gnu-gcc accepts -g... yes checking for riscv64-linux-gnu-gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for openssl/aes.h... yes checking for openssl/evp.h... yes checking what to build and install... agent apps man local mibs using default persistent mask 077 using default temporary file pattern /tmp/snmpdXXXXXX using default AgentX socket /var/agentx/master using default "enterprise.net-snmp" using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..." using default notifications "NET-SNMP-MIB::netSnmpNotifications" using OS default send buffer size for server sockets using OS default recv buffer size for server sockets using OS default send buffer size for client sockets using OS default recv buffer size for client sockets checking whether to prompt for values... no checking Default version of SNMP to use... setting Default version of SNMP to use to... 3 checking System Contact Information... (cached) root checking System Location... (cached) Unknown checking Location to write logfile... (cached) none checking Location to write persistent information... (cached) /var/lib/snmp checking if I need to feed myself to ksh... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for a sed that does not truncate output... /usr/bin/sed checking for file... file checking for find... find checking for whoami... whoami checking for autoconf... /usr/bin/autoconf checking for autoheader... /usr/bin/autoheader checking for perl... /usr/bin/perl checking for ps... /bin/ps checking for python3... no checking for uname... /bin/uname checking whether the Perl function system() invokes a POSIX shell... yes checking for riscv64-linux-gnu-gcc... (cached) riscv64-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether riscv64-linux-gnu-gcc accepts -g... (cached) yes checking for riscv64-linux-gnu-gcc option to enable C11 features... (cached) none needed checking how to run the C preprocessor... riscv64-linux-gnu-gcc -E checking for an ANSI C-conforming const... yes checking for inline... inline checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by riscv64-linux-gnu-gcc... /usr/riscv64-linux-gnu/bin/ld checking if the linker (/usr/riscv64-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/riscv64-linux-gnu-nm -B checking the name lister (/usr/bin/riscv64-linux-gnu-nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/riscv64-linux-gnu/bin/ld option to reload object files... -r checking for file... file checking for riscv64-linux-gnu-objdump... riscv64-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for riscv64-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-linux-gnu-ranlib... riscv64-linux-gnu-ranlib checking for riscv64-linux-gnu-ar... riscv64-linux-gnu-ar checking for archiver @FILE support... @ checking for riscv64-linux-gnu-strip... riscv64-linux-gnu-strip checking for gawk... no checking for mawk... mawk checking command to parse /usr/bin/riscv64-linux-gnu-nm -B output from riscv64-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if riscv64-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for riscv64-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if riscv64-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if riscv64-linux-gnu-gcc static flag -static works... yes checking if riscv64-linux-gnu-gcc supports -c -o file.o... yes checking if riscv64-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the riscv64-linux-gnu-gcc linker (/usr/riscv64-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for riscv64-linux-gnu-windres... no checking for windres... no checking whether the compiler supports -Werror=declaration-after-statement... yes checking target system type... riscv64-unknown-linux-gnu checking whether the linker supports -Wl,-no-undefined... yes checking whether to un-define target system token (before redefining)... checking for egrep -e... (cached) /usr/bin/grep -E yes checking for system include file... net-snmp/system/linux.h checking for machine-type include file... net-snmp/machine/generic.h checking for additional cpp flags... -x c checking for riscv64-linux-gnu-gcc... /usr/bin/riscv64-linux-gnu-gcc checking whether the compiler supports -fno-strict-aliasing... yes checking for dpkg-query... /usr/bin/dpkg-query checking for egrep... (cached) /usr/bin/grep -E checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking for getopt.h... yes checking for pthread.h... yes checking for regex.h... yes checking for string.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for process.h... no checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/syslog.h... yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for nlist.h... no checking for crt_externs.h... no checking for fcntl.h... yes checking for io.h... no checking for kstat.h... no checking for limits.h... yes checking for locale.h... yes checking for mach-o/dyld.h... no checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/sockio.h... no checking for sys/stat.h... (cached) yes checking for sys/systemcfg.h... no checking for sys/systeminfo.h... no checking for sys/times.h... yes checking for sys/uio.h... yes checking for sys/utsname.h... yes checking for netipx/ipx.h... yes checking for dlfcn.h... (cached) yes checking for err.h... yes checking for fcntl.h... (cached) yes checking for fstab.h... yes checking for grp.h... yes checking for io.h... (cached) no checking for ioctls.h... no checking for kstat.h... (cached) no checking for kvm.h... no checking for limits.h... (cached) yes checking for mntent.h... yes checking for mtab.h... no checking for pkglocs.h... no checking for pwd.h... yes checking for spawn.h... yes checking for com_err.h... no checking for et/com_err.h... no checking for utmpx.h... yes checking for utsname.h... no checking for sys/callout.h... no checking for sys/diskio.h... no checking for sys/dkio.h... no checking for sys/file.h... (cached) yes checking for sys/filio.h... no checking for sys/fixpoint.h... no checking for sys/fs.h... no checking for sys/ioctl.h... (cached) yes checking for sys/loadavg.h... no checking for sys/mntent.h... no checking for sys/mnttab.h... no checking for sys/osd.h... no checking for sys/pool.h... no checking for sys/protosw.h... no checking for sys/pstat.h... no checking for sys/sockio.h... (cached) no checking for sys/stat.h... (cached) yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/stream.h... no checking for sys/sysget.h... no checking for sys/sysmacros.h... yes checking for sys/sysmp.h... no checking for sys/tcpipstats.h... no checking for sys/utsname.h... (cached) yes checking for sys/vfs.h... yes checking for sys/vm.h... no checking for sys/vmmac.h... no checking for sys/vmmeter.h... no checking for sys/vmparam.h... no checking for sys/vmsystm.h... no checking for asm/page.h... no checking for asm/types.h... yes checking for inet/mib2.h... no checking for linux/hdreg.h... yes checking for linux/tasks.h... no checking for machine/param.h... no checking for ufs/fs.h... no checking for uvm/uvm_extern.h... no checking for uvm/uvm_param.h... no checking for vm/vm.h... no checking for vm/vm_extern.h... no checking for vm/vm_param.h... no checking for fcntl.h... (cached) yes checking for grp.h... (cached) yes checking for pwd.h... (cached) yes checking for sys/cdefs.h... yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for search.h... yes checking for sgtty.h... yes checking for xti.h... no checking for sys/dmap.h... no checking for sys/poll.h... yes checking for sys/timeout.h... no checking for machine/pte.h... no checking for pci/pci.h... yes checking for valgrind/valgrind.h... no checking for valgrind/memcheck.h... no checking for openssl/aes.h... (cached) yes checking for openssl/dh.h... yes checking for openssl/des.h... yes checking for openssl/err.h... yes checking for openssl/evp.h... (cached) yes checking for openssl/hmac.h... yes checking for openssl/ssl.h... yes checking for sys/swap.h... yes checking for malloc.h... yes checking for osreldate.h... no checking for machine/types.h... no checking for sys/dkstat.h... no checking for sys/conf.h... no checking for sys/mbuf.h... no checking for sys/mount.h... yes checking for sys/proc.h... no checking for sys/queue.h... yes checking for sys/user.h... yes checking for sys/sema.h... no checking for sys/hashing.h... no checking for sys/vnode.h... no checking for sys/disklabel.h... no checking for nbutil.h... no checking for ufs/ufs/dinode.h... no checking for ufs/ufs/quota.h... no checking for ufs/ufs/inode.h... no checking for ufs/ffs/fs.h... no checking for vm/swap_pager.h... no checking for linux/netlink.h... yes checking for linux/rtnetlink.h... yes checking for sys/socket.h... yes checking for sys/un.h... yes checking for netinet/tcp_fsm.h... no checking for sys/sockio.h... (cached) no checking for sys/socketvar.h... yes checking for net/if_dl.h... no checking for net/if_types.h... no checking for arpa/inet.h... yes checking for net/if.h... yes checking for netinet/in.h... yes checking for netdb.h... yes checking for netgroup.h... no checking for net/if_arp.h... yes checking for net/if_mib.h... no checking for net/if_var.h... no checking for netinet/if_ether.h... yes checking for netinet/in_systm.h... yes checking for netinet/in_var.h... no checking for netinet/ip.h... yes checking for netinet/ip_icmp.h... yes checking for netinet/icmp_var.h... no checking for netinet/ip_var.h... no checking for netinet/tcp.h... yes checking for netinet/tcp_timer.h... no checking for netinet/tcp_var.h... no checking for netinet/tcpip.h... no checking for netinet/udp.h... yes checking for netinet/udp_var.h... no checking for net/route.h... yes checking for netinet/icmp6.h... yes checking for netinet/in_pcb.h... no checking for netinet/ip6.h... yes checking for netinet6/in6_var.h... no checking for netinet6/in6_pcb.h... no checking for netinet6/ip6_var.h... no checking for netinet6/nd6.h... no checking for netinet6/tcp6.h... no checking for netinet6/tcp6_fsm.h... no checking for netinet6/tcp6_timer.h... no checking for netinet6/tcp6_var.h... no checking for linux/ethtool.h... yes checking for pkginfo.h... no checking for pkg.h... no checking for pkg.h... no checking for windows.h... no checking for iphlpapi.h... no checking for lm.h... no checking for sensors/sensors.h... yes checking for picl.h... no checking for struct rtentry.rt_dst... yes checking for struct rtentry.rt_hash... no checking for struct rtentry.rt_next... no checking for struct rtentry.rt_refcnt... no checking for struct rtentry.rt_unit... no checking for struct rtentry.rt_use... no checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of intmax_t... 8 checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for unsigned long long int... yes checking for long long int... yes checking for intmax_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uintmax_t... yes checking for intptr_t... yes checking for uintptr_t... yes checking for off64_t... yes checking for nfds_t... yes checking for Counter64... no checking for mib2_ipIfStatsEntry_t... no checking for struct in_ifaddr.ia_subnetmask... no checking ipv6 stack type... postponed checking for struct sockaddr_in6.sin6_addr... yes checking ipv6 stack type... "generic, yes, using libc" checking for platform-specific source... sd-daemon.c sd-daemon.o sd-daemon.lo checking for and configuring transport modules to use... Callback Unix Alias TCP UDP TCPIPv6 UDPIPv6 TLSTCP DTLSUDP IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase IPBase IPv6Base TLSBase. checking for security modules to use... tsm usm checking for riscv64-linux-gnu-gcc options needed to detect all undeclared functions... none needed checking whether sensors_get_all_subfeatures is declared... yes checking for rpm/rpmlib.h... no checking for rpm/header.h... no checking for rpm/rpmlib.h... (cached) no checking for rpm/header.h... (cached) no checking for library containing getfsstat... no checking for getfsstat... no checking for getvfsstat... no checking for library containing getmntent... none required checking for library containing kinfo_get_cpus... no checking for kinfo_get_cpus... no checking for library containing exp... -lm checking for library containing kvm_read... no checking for library containing kvm_openfiles... no checking for library containing kvm_getprocs... no checking for library containing kvm_getproc2... no checking for library containing kvm_getfiles... no checking for library containing kvm_getfile2... no checking for library containing kvm_getswapinfo... no checking for kvm_openfiles... no checking for kvm_getprocs... no checking for kvm_getproc2... no checking for kvm_getswapinfo... no checking for kvm_getfiles... no checking for kvm_getfile2... no checking for library containing dlopen... none required checking for dlopen... yes checking for pcre.h... no checking for riscv64-linux-gnu-pkg-config... /usr/bin/riscv64-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBNL3... yes checking for LIBNLROUTE3... yes checking for library containing nl_connect... -lnl-3 checking for netlink/cache.h... yes checking for netlink/msg.h... yes checking for netlink/netlink.h... yes checking for netlink/socket.h... yes checking for library containing rtnl_link_alloc_cache... -lnl-route-3 checking for netlink/route/addr.h... yes checking for netlink/route/link.h... yes checking for and configuring mib modules to use... default_modules disman/event-mib etherlike-mib/dot3StatsTable host mibII/mta_sendmail smux ucd-snmp/diskio ucd-snmp/dlmod ucd-snmp/lmsensorsMib. default_modules disman/event-mib etherlike-mib/dot3StatsTable host mibII/mta_sendmail smux ucd-snmp/diskio ucd-snmp/dlmod ucd-snmp/lmsensorsMib snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities etherlike-mib/data_access/dot3stats etherlike-mib/dot3StatsTable/dot3StatsTable etherlike-mib/dot3StatsTable/dot3StatsTable_data_get etherlike-mib/dot3StatsTable/dot3StatsTable_data_set etherlike-mib/dot3StatsTable/dot3StatsTable_data_access etherlike-mib/dot3StatsTable/dot3StatsTable_interface host/hrh_storage host/hrh_filesys host/hrSWInstalledTable host/hrSWRunTable host/hr_system host/hr_device host/hr_other host/hr_proc host/hr_network host/hr_print host/hr_disk host/hr_partition smux/smux util_funcs/header_simple_table hardware/sensors snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmStats snmpv3/usmConf snmpv3/usmUser mibII/system_mib mibII/sysORTable mibII/snmp_mib mibII/vacm_vars mibII/setSerialNo mibII/at mibII/ifTable mibII/ip mibII/tcp mibII/udp mibII/ipv6 mibII/icmp if-mib ip-mib ip-forward-mib tcp-mib udp-mib ucd-snmp/proc ucd-snmp/versioninfo ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/disk_hw ucd-snmp/loadave agent/extend ucd-snmp/errormib ucd-snmp/file ucd-snmp/proxy ucd-snmp/logmatch ucd-snmp/memory ucd-snmp/vmstat notification/snmpNotifyTable snmp-notification-mib/snmpNotifyFilterTable notification/snmpNotifyFilterProfileTable notification-log-mib/notification_log target/snmpTargetAddrEntry target/snmpTargetParamsEntry target/target target/target_counters agent/nsTransactionTable agent/nsModuleTable agent/nsDebug agent/nsCache agent/nsLogging agent/nsVacmAccessTable agentx/master agentx/subagent disman/event/mteScalars disman/event/mteTrigger disman/event/mteTriggerTable disman/event/mteTriggerDeltaTable disman/event/mteTriggerExistenceTable disman/event/mteTriggerBooleanTable disman/event/mteTriggerThresholdTable disman/event/mteTriggerConf disman/event/mteEvent disman/event/mteEventTable disman/event/mteEventSetTable disman/event/mteEventNotificationTable disman/event/mteEventConf disman/event/mteObjects disman/event/mteObjectsTable disman/event/mteObjectsConf disman/schedule/schedCore disman/schedule/schedConf disman/schedule/schedTable utilities/override utilities/execute utilities/iquery etherlike-mib/data_access/dot3stats_linux hardware/memory hardware/fsys host/data_access/swinst host/data_access/swrun host/hrSWRunPerfTable hardware/cpu util_funcs hardware/sensors/hw_sensors hardware/sensors/lmsensors_v3 util_funcs/header_generic mibII/updates mibII/vacm_context mibII/vacm_conf mibII/data_access/at_linux mibII/data_access/at_unix if-mib/ifTable mibII/ipAddr mibII/var_route mibII/route_write mibII/kernel_linux mibII/tcpTable mibII/udpTable if-mib/ifXTable ip-mib/ipAddressTable ip-mib/ipAddressPrefixTable ip-mib/ipDefaultRouterTable ip-mib/inetNetToMediaTable ip-mib/ipSystemStatsTable ip-mib/ip_scalars ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable ip-forward-mib/ipCidrRouteTable ip-forward-mib/inetCidrRouteTable tcp-mib/tcpConnectionTable tcp-mib/tcpListenerTable udp-mib/udpEndpointTable util_funcs/restart ucd-snmp/pass_common notification/snmpNotifyTable_data header_complex snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_data_storage snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable notification/snmpNotifyFilterProfileTable_data target/snmpTargetAddrEntry_data target/snmpTargetParamsEntry_data agentx/protocol agentx/master_admin agentx/agentx_config agentx/client hardware/memory/hw_mem hardware/memory/memory_linux hardware/fsys/hw_fsys hardware/fsys/fsys_mntent host/data_access/swinst_apt host/data_access/swrun_procfs_status hardware/cpu/cpu hardware/cpu/cpu_linux if-mib/ifTable/ifTable if-mib/ifXTable/ifXTable ip-mib/ipAddressTable/ipAddressTable ip-mib/ipAddressPrefixTable/ipAddressPrefixTable ip-mib/ipDefaultRouterTable/ipDefaultRouterTable ip-mib/data_access/arp ip-mib/inetNetToMediaTable/inetNetToMediaTable ip-mib/inetNetToMediaTable/inetNetToMediaTable_interface ip-mib/inetNetToMediaTable/inetNetToMediaTable_data_access ip-mib/data_access/systemstats ip-mib/ipSystemStatsTable/ipSystemStatsTable ip-mib/ipSystemStatsTable/ipSystemStatsTable_interface ip-mib/ipSystemStatsTable/ipSystemStatsTable_data_access ip-mib/data_access/scalars_common ip-mib/ipv6ScopeZoneIndexTable/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable/ipIfStatsTable ip-mib/ipIfStatsTable/ipIfStatsTable_interface ip-mib/ipIfStatsTable/ipIfStatsTable_data_access ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable tcp-mib/data_access/tcpConn tcp-mib/tcpConnectionTable/tcpConnectionTable tcp-mib/tcpListenerTable/tcpListenerTable udp-mib/udpEndpointTable/udpEndpointTable snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_interface snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_data_access if-mib/data_access/interface if-mib/ifTable/ifTable_interface if-mib/ifTable/ifTable_data_access if-mib/ifXTable/ifXTable_interface if-mib/ifXTable/ifXTable_data_access ip-mib/data_access/ipaddress ip-mib/ipAddressTable/ipAddressTable_interface ip-mib/ipAddressTable/ipAddressTable_data_access ip-mib/ipAddressPrefixTable/ipAddressPrefixTable_interface ip-mib/ipAddressPrefixTable/ipAddressPrefixTable_data_access ip-mib/data_access/defaultrouter ip-mib/ipDefaultRouterTable/ipDefaultRouterTable_interface ip-mib/ipDefaultRouterTable/ipDefaultRouterTable_data_access ip-mib/ipDefaultRouterTable/ipDefaultRouterTable_data_get ip-mib/data_access/arp_common ip-mib/data_access/arp_netlink ip-mib/data_access/systemstats_common ip-mib/data_access/systemstats_linux ip-mib/data_access/scalars_linux ip-mib/data_access/ipv6scopezone ip-mib/ipv6ScopeZoneIndexTable/ipv6ScopeZoneIndexTable_interface ip-mib/ipv6ScopeZoneIndexTable/ipv6ScopeZoneIndexTable_data_access ip-mib/ipIfStatsTable/ipIfStatsTable_data_get ip-forward-mib/data_access/route ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_interface ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_data_access ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable_interface ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable_data_access tcp-mib/data_access/tcpConn_common tcp-mib/data_access/tcpConn_linux util_funcs/get_pid_from_inode tcp-mib/tcpConnectionTable/tcpConnectionTable_interface tcp-mib/tcpConnectionTable/tcpConnectionTable_data_access tcp-mib/tcpListenerTable/tcpListenerTable_interface tcp-mib/tcpListenerTable/tcpListenerTable_data_access udp-mib/data_access/udp_endpoint udp-mib/udpEndpointTable/udpEndpointTable_interface udp-mib/udpEndpointTable/udpEndpointTable_data_access if-mib/data_access/interface_linux if-mib/data_access/interface_ioctl ip-mib/data_access/ipaddress_common ip-mib/data_access/ipaddress_linux ip-mib/data_access/defaultrouter_common ip-mib/data_access/defaultrouter_linux ip-mib/data_access/ipv6scopezone_common ip-mib/data_access/ipv6scopezone_linux ip-forward-mib/data_access/route_common ip-forward-mib/data_access/route_linux ip-forward-mib/data_access/route_ioctl udp-mib/data_access/udp_endpoint_common udp-mib/data_access/udp_endpoint_linux ip-mib/data_access/ipaddress_ioctl . checking if directories need to be created... . checking default mib files to read... :SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB checking whether we have to build PIC code... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for gethostbyname... yes checking for library containing gethostbyaddr... none required checking for gethostbyaddr... yes checking for MIB_IF_TABLE2... no checking for kstat_lookup in -lkstat... no checking for in6addr_any in -lsocket... no checking for library containing clock_gettime... none required checking for library containing getdevs... no checking for library containing devstat_getdevs... no checking for library containing pci_lookup_name... -lpci checking for sensors support... checking for sensors/sensors.h... (cached) yes checking for library containing sensors_get_detected_chips... -lsensors checking for OPENSSL... yes configure: OPENSSL_CFLAGS= configure: OPENSSL_LIBS=-lssl -lcrypto checking for EVP_md5... yes checking for AES_cfb128_encrypt... yes checking for ASN1_STRING_get0_data... yes checking for DH_get0_key... yes checking for DH_get0_pqg... yes checking for DH_set0_pqg... yes checking for DTLS_method... yes checking for DTLSv1_method... yes checking for ERR_get_error_all... yes checking for ERR_get_error_func... no checking for EVP_MD_CTX_create... yes checking for EVP_MD_CTX_destroy... yes checking for EVP_MD_CTX_free... yes checking for EVP_MD_CTX_new... yes checking for EVP_aes_128_cfb... yes checking for EVP_sha224... yes checking for EVP_sha384... yes checking for OPENSSL_sk_num... yes checking for OPENSSL_sk_value... yes checking for OpenSSL_add_all_algorithms... yes checking for SSL_CTX_set_cookie_generate_cb... yes checking for SSL_get1_peer_certificate... yes checking for SSL_library_init... yes checking for SSL_load_error_strings... yes checking for TLS_method... yes checking for TLSv1_method... yes checking for X509_NAME_ENTRY_get_data... yes checking for X509_NAME_ENTRY_get_object... yes checking for X509_get_signature_nid... yes checking whether 2nd app_verify_cookie_cb() arg is const... yes checking for ASN_BOOLEAN... no checking for ASN_INTEGER... no checking for ASN_OBJECT_ID... no checking for ASN_SEQUENCE... no checking for ASN_SET... no checking for tcpd.h... yes checking for TCP wrappers library -lwrap... yes checking for mysql_config... /usr/bin/mysql_config ./configure: line 32439: /usr/bin/mysql_config: cannot execute binary file: Exec format error ./configure: line 32440: /usr/bin/mysql_config: cannot execute binary file: Exec format error checking for mysql.h... no configure: error: Could not find mysql.h and was specifically asked to use MySQL support tail -v -n \+0 config.log ==> config.log <== 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.5.2, which was generated by GNU Autoconf 2.72. Invocation command line was $ ./configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules '--libdir=${prefix}/lib/riscv64-linux-gnu' --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --host=riscv64-linux-gnu --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --with-persistent-directory=/var/lib/snmp --enable-ucd-snmp-compatibility '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' --with-perl-modules=INSTALLDIRS=vendor --enable-as-needed --with-logfile=none --without-rpm --with-libwrap --with-openssl --without-dmalloc --without-efence --without-rsaref --with-sys-contact=root --with-sys-location=Unknown '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' --with-out-mib-modules= '--with-transports=TLSTCP DTLSUDP' --with-security-modules=tsm --enable-mfd-rewrites --with-mnttab=/etc/mtab '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' --with-mysql --with-systemd --enable-blumenthal-aes UNAMEPROG=/bin/uname PSPROG=/bin/ps --with-defaults ## --------- ## ## Platform. ## ## --------- ## hostname = debian-ci-siliconvalley uname -m = x86_64 uname -r = 6.1.0-32-amd64 uname -s = Linux uname -v = #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin/ PATH: /usr/local/bin/ PATH: /usr/sbin/ PATH: /usr/bin/ PATH: /sbin/ PATH: /bin/ PATH: /usr/games/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:3639: looking for aux files: config.guess config.sub ltmain.sh install-sh configure:3652: trying ./ configure:3681: ./config.guess found configure:3681: ./config.sub found configure:3681: ./ltmain.sh found configure:3663: ./install-sh found configure:3834: checking for riscv64-linux-gnu-gcc configure:3855: found /usr/bin/riscv64-linux-gnu-gcc configure:3867: result: riscv64-linux-gnu-gcc configure:4272: checking for C compiler version configure:4281: riscv64-linux-gnu-gcc --version >&5 riscv64-linux-gnu-gcc (Debian 15.2.0-7) 15.2.0 Copyright (C) 2025 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:4292: $? = 0 configure:4281: riscv64-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=riscv64-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc-cross/riscv64-linux-gnu/15/lto-wrapper Target: riscv64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 15.2.0-7' --with-bugurl=file:///usr/share/doc/gcc-15/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,cobol,algol68 --prefix=/usr --with-gcc-major-version-only --program-suffix=-15 --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --without-target-system-zlib --enable-multiarch --disable-werror --disable-multilib --with-abi=lp64d --with-arch=rv64gc --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=riscv64-linux-gnu --program-prefix=riscv64-linux-gnu- --includedir=/usr/riscv64-linux-gnu/include --with-build-config=bootstrap-lto-lean --enable-link-serialization=3 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.2.0 (Debian 15.2.0-7) configure:4292: $? = 0 configure:4281: riscv64-linux-gnu-gcc -V >&5 riscv64-linux-gnu-gcc: error: unrecognized command-line option '-V' riscv64-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:4292: $? = 1 configure:4281: riscv64-linux-gnu-gcc -qversion >&5 riscv64-linux-gnu-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? riscv64-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:4292: $? = 1 configure:4281: riscv64-linux-gnu-gcc -version >&5 riscv64-linux-gnu-gcc: error: unrecognized command-line option '-version' riscv64-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:4292: $? = 1 configure:4312: checking whether the C compiler works configure:4334: riscv64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:4338: $? = 0 configure:4389: result: yes configure:4393: checking for C compiler default output file name configure:4395: result: a.out configure:4401: checking for suffix of executables configure:4408: riscv64-linux-gnu-gcc -o conftest -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:4412: $? = 0 configure:4436: result: configure:4460: checking whether we are cross compiling configure:4498: result: yes configure:4504: checking for suffix of object files configure:4527: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4531: $? = 0 configure:4555: result: o configure:4559: checking whether the compiler supports GNU C configure:4579: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4579: $? = 0 configure:4591: result: yes configure:4602: checking whether riscv64-linux-gnu-gcc accepts -g configure:4623: riscv64-linux-gnu-gcc -c -g -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4623: $? = 0 configure:4670: result: yes configure:4690: checking for riscv64-linux-gnu-gcc option to enable C11 features configure:4705: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4705: $? = 0 configure:4724: result: none needed configure:4847: checking for stdio.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4847: $? = 0 configure:4847: result: yes configure:4847: checking for stdlib.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4847: $? = 0 configure:4847: result: yes configure:4847: checking for string.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4847: $? = 0 configure:4847: result: yes configure:4847: checking for inttypes.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4847: $? = 0 configure:4847: result: yes configure:4847: checking for stdint.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4847: $? = 0 configure:4847: result: yes configure:4847: checking for strings.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4847: $? = 0 configure:4847: result: yes configure:4847: checking for sys/stat.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4847: $? = 0 configure:4847: result: yes configure:4847: checking for sys/types.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4847: $? = 0 configure:4847: result: yes configure:4847: checking for unistd.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4847: $? = 0 configure:4847: result: yes configure:4847: checking for wchar.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4847: $? = 0 configure:4847: result: yes configure:4847: checking for minix/config.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:48:10: fatal error: minix/config.h: No such file or directory 48 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:4847: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:4847: result: no configure:4847: checking for sys/time.h configure:4847: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4847: $? = 0 configure:4847: result: yes configure:4878: checking whether it is safe to define __EXTENSIONS__ configure:4897: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4897: $? = 0 configure:4907: result: yes configure:4910: checking whether _XOPEN_SOURCE should be defined configure:4932: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4932: $? = 0 configure:4961: result: no configure:5233: checking for openssl/aes.h configure:5233: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:5233: $? = 0 configure:5233: result: yes configure:5233: checking for openssl/evp.h configure:5233: riscv64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:5233: $? = 0 configure:5233: result: yes configure:5532: checking what to build and install configure:5534: result: agent apps man local mibs configure:5964: result: using default persistent mask 077 configure:6006: result: using default temporary file pattern /tmp/snmpdXXXXXX configure:6483: result: using default AgentX socket /var/agentx/master configure:6867: result: using default "enterprise.net-snmp" configure:6902: result: using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..." configure:6937: result: using default notifications "NET-SNMP-MIB::netSnmpNotifications" configure:7054: result: using OS default send buffer size for server sockets configure:7077: result: using OS default recv buffer size for server sockets configure:7100: result: using OS default send buffer size for client sockets configure:7123: result: using OS default recv buffer size for client sockets configure:7263: checking whether to prompt for values configure:7310: result: no configure:7326: checking Default version of SNMP to use configure:7371: result: 3 configure:7395: checking System Contact Information configure:7431: result: root configure:7446: checking System Location configure:7481: result: Unknown configure:7502: checking Location to write logfile configure:7538: result: none configure:7561: checking Location to write persistent information configure:7601: result: /var/lib/snmp configure:7677: checking if I need to feed myself to ksh configure:7693: result: no configure:7702: checking for grep that handles long lines and -e configure:7768: result: /usr/bin/grep configure:7773: checking for egrep configure:7843: result: /usr/bin/grep -E configure:7850: checking for grep that handles long lines and -e configure:7916: result: /usr/bin/grep configure:7937: checking for a BSD-compatible install configure:8011: result: /usr/bin/install -c configure:8022: checking whether ln -s works configure:8026: result: yes configure:8033: checking whether make sets $(MAKE) configure:8057: result: yes configure:8066: checking for a sed that does not truncate output configure:8138: result: /usr/bin/sed configure:8148: checking for file configure:8169: found /usr/bin/file configure:8181: result: file configure:8205: checking for find configure:8226: found /usr/bin/find configure:8238: result: find configure:8253: checking for whoami configure:8274: found /usr/bin/whoami configure:8286: result: whoami configure:8301: checking for autoconf configure:8324: found /usr/bin/autoconf configure:8338: result: /usr/bin/autoconf configure:8348: checking for autoheader configure:8371: found /usr/bin/autoheader configure:8385: result: /usr/bin/autoheader configure:8395: checking for perl configure:8418: found /usr/bin/perl configure:8431: result: /usr/bin/perl configure:8441: checking for ps configure:8477: result: /bin/ps configure:8487: checking for python3 configure:8526: result: no configure:8534: checking for uname configure:8570: result: /bin/uname configure:8595: checking whether the Perl function system() invokes a POSIX shell configure:8602: result: yes configure:8625: checking for riscv64-linux-gnu-gcc configure:8658: result: riscv64-linux-gnu-gcc configure:9063: checking for C compiler version configure:9072: riscv64-linux-gnu-gcc --version >&5 riscv64-linux-gnu-gcc (Debian 15.2.0-7) 15.2.0 Copyright (C) 2025 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:9083: $? = 0 configure:9072: riscv64-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=riscv64-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc-cross/riscv64-linux-gnu/15/lto-wrapper Target: riscv64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 15.2.0-7' --with-bugurl=file:///usr/share/doc/gcc-15/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,cobol,algol68 --prefix=/usr --with-gcc-major-version-only --program-suffix=-15 --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --without-target-system-zlib --enable-multiarch --disable-werror --disable-multilib --with-abi=lp64d --with-arch=rv64gc --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=riscv64-linux-gnu --program-prefix=riscv64-linux-gnu- --includedir=/usr/riscv64-linux-gnu/include --with-build-config=bootstrap-lto-lean --enable-link-serialization=3 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.2.0 (Debian 15.2.0-7) configure:9083: $? = 0 configure:9072: riscv64-linux-gnu-gcc -V >&5 riscv64-linux-gnu-gcc: error: unrecognized command-line option '-V' riscv64-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:9083: $? = 1 configure:9072: riscv64-linux-gnu-gcc -qversion >&5 riscv64-linux-gnu-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? riscv64-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:9083: $? = 1 configure:9072: riscv64-linux-gnu-gcc -version >&5 riscv64-linux-gnu-gcc: error: unrecognized command-line option '-version' riscv64-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:9083: $? = 1 configure:9087: checking whether the compiler supports GNU C configure:9119: result: yes configure:9130: checking whether riscv64-linux-gnu-gcc accepts -g configure:9198: result: yes configure:9218: checking for riscv64-linux-gnu-gcc option to enable C11 features configure:9252: result: none needed configure:9375: checking how to run the C preprocessor configure:9401: riscv64-linux-gnu-gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c configure:9401: $? = 0 configure:9417: riscv64-linux-gnu-gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c conftest.c:57:10: fatal error: ac_nonexistent.h: No such file or directory 57 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:9417: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | /* end confdefs.h. */ | #include configure:9446: result: riscv64-linux-gnu-gcc -E configure:9460: riscv64-linux-gnu-gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c configure:9460: $? = 0 configure:9476: riscv64-linux-gnu-gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c conftest.c:57:10: fatal error: ac_nonexistent.h: No such file or directory 57 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:9476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | /* end confdefs.h. */ | #include configure:9511: checking for an ANSI C-conforming const configure:9578: riscv64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:9578: $? = 0 configure:9588: result: yes configure:9596: checking for inline configure:9613: riscv64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:9613: $? = 0 configure:9623: result: inline configure:9678: checking build system type configure:9694: result: x86_64-pc-linux-gnu configure:9714: checking host system type configure:9729: result: riscv64-unknown-linux-gnu configure:9770: checking how to print strings configure:9797: result: printf configure:9818: checking for a sed that does not truncate output configure:9890: result: /usr/bin/sed configure:9908: checking for fgrep configure:9978: result: /usr/bin/grep -F configure:10015: checking for ld used by riscv64-linux-gnu-gcc configure:10084: result: /usr/riscv64-linux-gnu/bin/ld configure:10091: checking if the linker (/usr/riscv64-linux-gnu/bin/ld) is GNU ld configure:10108: result: yes configure:10120: checking for BSD- or MS-compatible name lister (nm) configure:10176: result: /usr/bin/riscv64-linux-gnu-nm -B configure:10318: checking the name lister (/usr/bin/riscv64-linux-gnu-nm -B) interface configure:10326: riscv64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:10329: /usr/bin/riscv64-linux-gnu-nm -B "conftest.o" configure:10332: output 0000000000000000 B some_variable configure:10340: result: BSD nm configure:10344: checking the maximum length of command line arguments configure:10477: result: 1572864 configure:10525: checking how to convert x86_64-pc-linux-gnu file names to riscv64-unknown-linux-gnu format configure:10567: result: func_convert_file_noop configure:10574: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:10596: result: func_convert_file_noop configure:10603: checking for /usr/riscv64-linux-gnu/bin/ld option to reload object files configure:10612: result: -r configure:10645: checking for file configure:10666: found /usr/bin/file configure:10679: result: file configure:10696: checking for riscv64-linux-gnu-objdump configure:10717: found /usr/bin/riscv64-linux-gnu-objdump configure:10729: result: riscv64-linux-gnu-objdump configure:10804: checking how to recognize dependent libraries configure:11013: result: pass_all configure:11058: checking for riscv64-linux-gnu-dlltool configure:11094: result: no configure:11104: checking for dlltool configure:11140: result: no configure:11167: checking how to associate runtime and link libraries configure:11196: result: printf %s\n configure:11210: checking for riscv64-linux-gnu-ranlib configure:11231: found /usr/bin/riscv64-linux-gnu-ranlib configure:11243: result: riscv64-linux-gnu-ranlib configure:11316: checking for riscv64-linux-gnu-ar configure:11337: found /usr/bin/riscv64-linux-gnu-ar configure:11349: result: riscv64-linux-gnu-ar configure:11452: checking for archiver @FILE support configure:11470: riscv64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:11470: $? = 0 configure:11474: riscv64-linux-gnu-ar cr libconftest.a @conftest.lst >&5 configure:11477: $? = 0 configure:11482: riscv64-linux-gnu-ar cr libconftest.a @conftest.lst >&5 riscv64-linux-gnu-ar: conftest.o: No such file or directory configure:11485: $? = 1 configure:11498: result: @ configure:11516: checking for riscv64-linux-gnu-strip configure:11537: found /usr/bin/riscv64-linux-gnu-strip configure:11549: result: riscv64-linux-gnu-strip configure:11673: checking for gawk configure:11709: result: no configure:11673: checking for mawk configure:11694: found /usr/bin/mawk configure:11706: result: mawk configure:11746: checking command to parse /usr/bin/riscv64-linux-gnu-nm -B output from riscv64-linux-gnu-gcc object configure:11900: riscv64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:11903: $? = 0 configure:11907: /usr/bin/riscv64-linux-gnu-nm -B conftest.o | /usr/bin/sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' > conftest.nm configure:11973: riscv64-linux-gnu-gcc -o conftest -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c conftstm.o >&5 configure:11976: $? = 0 configure:12015: result: ok configure:12062: checking for sysroot configure:12096: result: no configure:12103: checking for a working dd configure:12148: result: /usr/bin/dd configure:12152: checking how to truncate binary pipes configure:12169: result: /usr/bin/dd bs=4096 count=1 configure:12463: checking for riscv64-linux-gnu-mt configure:12499: result: no configure:12509: checking for mt configure:12545: result: no configure:12565: checking if : is a manifest tool configure:12572: : '-?' configure:12581: result: no configure:13374: checking for dlfcn.h configure:13374: riscv64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:13374: $? = 0 configure:13374: result: yes configure:14011: checking for objdir configure:14028: result: .libs configure:14294: checking if riscv64-linux-gnu-gcc supports -fno-rtti -fno-exceptions configure:14313: riscv64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 -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:14317: $? = 0 configure:14331: result: no configure:14710: checking for riscv64-linux-gnu-gcc option to produce PIC configure:14719: result: -fPIC -DPIC configure:14727: checking if riscv64-linux-gnu-gcc PIC flag -fPIC -DPIC works configure:14746: riscv64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC -DPIC conftest.c >&5 configure:14750: $? = 0 configure:14764: result: yes configure:14793: checking if riscv64-linux-gnu-gcc static flag -static works configure:14823: result: yes configure:14838: checking if riscv64-linux-gnu-gcc supports -c -o file.o configure:14860: riscv64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 -o out/conftest2.o conftest.c >&5 configure:14864: $? = 0 configure:14887: result: yes configure:14895: checking if riscv64-linux-gnu-gcc supports -c -o file.o configure:14944: result: yes configure:14977: checking whether the riscv64-linux-gnu-gcc linker (/usr/riscv64-linux-gnu/bin/ld) supports shared libraries configure:16265: result: yes configure:16302: checking whether -lc should be explicitly linked in configure:16311: riscv64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:16314: $? = 0 configure:16329: riscv64-linux-gnu-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:16332: $? = 0 configure:16347: result: no configure:16507: checking dynamic linker characteristics configure:17126: riscv64-linux-gnu-gcc -o conftest -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,-rpath -Wl,/foo conftest.c >&5 configure:17126: $? = 0 configure:17909: result: GNU/Linux ld.so configure:18031: checking how to hardcode library paths into programs configure:18056: result: immediate configure:18656: checking whether stripping libraries is possible configure:18665: result: yes configure:18707: checking if libtool supports shared libraries configure:18709: result: yes configure:18712: checking whether to build shared libraries configure:18737: result: yes configure:18740: checking whether to build static libraries configure:18744: result: yes configure:18784: checking for riscv64-linux-gnu-windres configure:18820: result: no configure:18830: checking for windres configure:18866: result: no configure:18972: checking whether the compiler supports -Werror=declaration-after-statement configure:18991: riscv64-linux-gnu-gcc -o conftest -Werror -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:18991: $? = 0 configure:18994: result: yes configure:19115: checking target system type configure:19130: result: riscv64-unknown-linux-gnu configure:19186: checking whether the linker supports -Wl,-no-undefined configure:19200: riscv64-linux-gnu-gcc -o conftest -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,-no-undefined conftest.c >&5 configure:19200: $? = 0 configure:19202: result: yes configure:19234: checking whether to un-define target system token (before redefining) configure:19240: checking for egrep -e configure:19370: result: /usr/bin/grep -E configure:19386: result: yes configure:19402: checking for system include file configure:19425: result: net-snmp/system/linux.h configure:19433: checking for machine-type include file configure:19448: result: net-snmp/machine/generic.h configure:19469: checking for additional cpp flags configure:19486: result: -x c configure:19495: checking for riscv64-linux-gnu-gcc configure:19518: found /usr/bin/riscv64-linux-gnu-gcc configure:19531: result: /usr/bin/riscv64-linux-gnu-gcc configure:19573: checking whether the compiler supports -fno-strict-aliasing configure:19588: riscv64-linux-gnu-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:19588: $? = 0 configure:19590: result: yes configure:19680: checking for dpkg-query configure:19703: found /usr/bin/dpkg-query configure:19716: result: /usr/bin/dpkg-query configure:19866: checking for egrep configure:19936: result: /usr/bin/grep -E configure:19947: checking for dirent.h that defines DIR configure:19967: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:19967: $? = 0 configure:19978: result: yes configure:19992: checking for library containing opendir configure:20028: riscv64-linux-gnu-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:20028: $? = 0 configure:20050: result: none required configure:20135: checking for sys/wait.h that is POSIX.1 compatible configure:20162: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20162: $? = 0 configure:20172: result: yes configure:20189: checking for getopt.h configure:20189: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20189: $? = 0 configure:20189: result: yes configure:20195: checking for pthread.h configure:20195: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20195: $? = 0 configure:20195: result: yes configure:20201: checking for regex.h configure:20201: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20201: $? = 0 configure:20201: result: yes configure:20207: checking for string.h configure:20207: result: yes configure:20213: checking for syslog.h configure:20213: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20213: $? = 0 configure:20213: result: yes configure:20219: checking for unistd.h configure:20219: result: yes configure:20225: checking for stdint.h configure:20225: result: yes configure:20231: checking for inttypes.h configure:20231: result: yes configure:20237: checking for process.h configure:20237: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:104:10: fatal error: process.h: No such file or directory 104 | #include | ^~~~~~~~~~~ compilation terminated. configure:20237: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20237: result: no configure:20243: checking for sys/param.h configure:20243: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20243: $? = 0 configure:20243: result: yes configure:20249: checking for sys/select.h configure:20249: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20249: $? = 0 configure:20249: result: yes configure:20255: checking for sys/syslog.h configure:20255: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20255: $? = 0 configure:20255: result: yes configure:20261: checking for sys/time.h configure:20261: result: yes configure:20267: checking for sys/timeb.h configure:20267: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20267: $? = 0 configure:20267: result: yes configure:20276: checking for nlist.h configure:20276: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:116:10: fatal error: nlist.h: No such file or directory 116 | #include | ^~~~~~~~~ compilation terminated. configure:20276: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #ifndef LIBBSD_DISABLE_DEPRECATED | #define LIBBSD_DISABLE_DEPRECATED 1 | #endif | | | #include configure:20276: result: no configure:20292: checking for crt_externs.h configure:20292: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:109:10: fatal error: crt_externs.h: No such file or directory 109 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20292: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20292: result: no configure:20298: checking for fcntl.h configure:20298: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20298: $? = 0 configure:20298: result: yes configure:20304: checking for io.h configure:20304: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:110:10: fatal error: io.h: No such file or directory 110 | #include | ^~~~~~ compilation terminated. configure:20304: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20304: result: no configure:20310: checking for kstat.h configure:20310: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:110:10: fatal error: kstat.h: No such file or directory 110 | #include | ^~~~~~~~~ compilation terminated. configure:20310: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20310: result: no configure:20316: checking for limits.h configure:20316: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20316: $? = 0 configure:20316: result: yes configure:20322: checking for locale.h configure:20322: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20322: $? = 0 configure:20322: result: yes configure:20328: checking for mach-o/dyld.h configure:20328: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:112:10: fatal error: mach-o/dyld.h: No such file or directory 112 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20328: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20328: result: no configure:20334: checking for sys/file.h configure:20334: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20334: $? = 0 configure:20334: result: yes configure:20340: checking for sys/ioctl.h configure:20340: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20340: $? = 0 configure:20340: result: yes configure:20346: checking for sys/sockio.h configure:20346: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:114:10: fatal error: sys/sockio.h: No such file or directory 114 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:20346: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20346: result: no configure:20352: checking for sys/stat.h configure:20352: result: yes configure:20358: checking for sys/systemcfg.h configure:20358: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:115:10: fatal error: sys/systemcfg.h: No such file or directory 115 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:20358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20358: result: no configure:20364: checking for sys/systeminfo.h configure:20364: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:115:10: fatal error: sys/systeminfo.h: No such file or directory 115 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:20364: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20364: result: no configure:20370: checking for sys/times.h configure:20370: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20370: $? = 0 configure:20370: result: yes configure:20376: checking for sys/uio.h configure:20376: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20376: $? = 0 configure:20376: result: yes configure:20382: checking for sys/utsname.h configure:20382: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20382: $? = 0 configure:20382: result: yes configure:20388: checking for netipx/ipx.h configure:20388: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20388: $? = 0 configure:20388: result: yes configure:20397: checking for dlfcn.h configure:20397: result: yes configure:20403: checking for err.h configure:20403: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20403: $? = 0 configure:20403: result: yes configure:20409: checking for fcntl.h configure:20409: result: yes configure:20415: checking for fstab.h configure:20415: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20415: $? = 0 configure:20415: result: yes configure:20421: checking for grp.h configure:20421: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20421: $? = 0 configure:20421: result: yes configure:20427: checking for io.h configure:20427: result: no configure:20433: checking for ioctls.h configure:20433: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:124:10: fatal error: ioctls.h: No such file or directory 124 | #include | ^~~~~~~~~~ compilation terminated. configure:20433: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20433: result: no configure:20439: checking for kstat.h configure:20439: result: no configure:20445: checking for kvm.h configure:20445: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:124:10: fatal error: kvm.h: No such file or directory 124 | #include | ^~~~~~~ compilation terminated. configure:20445: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20445: result: no configure:20451: checking for limits.h configure:20451: result: yes configure:20457: checking for mntent.h configure:20457: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20457: $? = 0 configure:20457: result: yes configure:20463: checking for mtab.h configure:20463: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:126:10: fatal error: mtab.h: No such file or directory 126 | #include | ^~~~~~~~ compilation terminated. configure:20463: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20463: result: no configure:20469: checking for pkglocs.h configure:20469: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:126:10: fatal error: pkglocs.h: No such file or directory 126 | #include | ^~~~~~~~~~~ compilation terminated. configure:20469: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20469: result: no configure:20475: checking for pwd.h configure:20475: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20475: $? = 0 configure:20475: result: yes configure:20481: checking for spawn.h configure:20481: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20481: $? = 0 configure:20481: result: yes configure:20487: checking for com_err.h configure:20487: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:128:10: fatal error: com_err.h: No such file or directory 128 | #include | ^~~~~~~~~~~ compilation terminated. configure:20487: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20487: result: no configure:20493: checking for et/com_err.h configure:20493: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:128:10: fatal error: et/com_err.h: No such file or directory 128 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:20493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20493: result: no configure:20499: checking for utmpx.h configure:20499: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20499: $? = 0 configure:20499: result: yes configure:20505: checking for utsname.h configure:20505: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:129:10: fatal error: utsname.h: No such file or directory 129 | #include | ^~~~~~~~~~~ compilation terminated. configure:20505: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20505: result: no configure:20513: checking for sys/callout.h configure:20513: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:129:10: fatal error: sys/callout.h: No such file or directory 129 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20513: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20513: result: no configure:20519: checking for sys/diskio.h configure:20519: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:129:10: fatal error: sys/diskio.h: No such file or directory 129 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:20519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20519: result: no configure:20525: checking for sys/dkio.h configure:20525: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:129:10: fatal error: sys/dkio.h: No such file or directory 129 | #include | ^~~~~~~~~~~~ compilation terminated. configure:20525: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20525: result: no configure:20531: checking for sys/file.h configure:20531: result: yes configure:20537: checking for sys/filio.h configure:20537: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:130:10: fatal error: sys/filio.h: No such file or directory 130 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:20537: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20537: result: no configure:20543: checking for sys/fixpoint.h configure:20543: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:130:10: fatal error: sys/fixpoint.h: No such file or directory 130 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:20543: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20543: result: no configure:20549: checking for sys/fs.h configure:20549: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:130:10: fatal error: sys/fs.h: No such file or directory 130 | #include | ^~~~~~~~~~ compilation terminated. configure:20549: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20549: result: no configure:20555: checking for sys/ioctl.h configure:20555: result: yes configure:20561: checking for sys/loadavg.h configure:20561: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:131:10: fatal error: sys/loadavg.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20561: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20561: result: no configure:20567: checking for sys/mntent.h configure:20567: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:131:10: fatal error: sys/mntent.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:20567: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20567: result: no configure:20573: checking for sys/mnttab.h configure:20573: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:131:10: fatal error: sys/mnttab.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:20573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20573: result: no configure:20579: checking for sys/osd.h configure:20579: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:131:10: fatal error: sys/osd.h: No such file or directory 131 | #include | ^~~~~~~~~~~ compilation terminated. configure:20579: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20579: result: no configure:20585: checking for sys/pool.h configure:20585: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:131:10: fatal error: sys/pool.h: No such file or directory 131 | #include | ^~~~~~~~~~~~ compilation terminated. configure:20585: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20585: result: no configure:20591: checking for sys/protosw.h configure:20591: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:131:10: fatal error: sys/protosw.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20591: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20591: result: no configure:20597: checking for sys/pstat.h configure:20597: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:131:10: fatal error: sys/pstat.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:20597: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20597: result: no configure:20603: checking for sys/sockio.h configure:20603: result: no configure:20609: checking for sys/stat.h configure:20609: result: yes configure:20615: checking for sys/statfs.h configure:20615: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20615: $? = 0 configure:20615: result: yes configure:20621: checking for sys/statvfs.h configure:20621: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20621: $? = 0 configure:20621: result: yes configure:20627: checking for sys/stream.h configure:20627: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:134:10: fatal error: sys/stream.h: No such file or directory 134 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:20627: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20627: result: no configure:20633: checking for sys/sysget.h configure:20633: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:134:10: fatal error: sys/sysget.h: No such file or directory 134 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:20633: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20633: result: no configure:20639: checking for sys/sysmacros.h configure:20639: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20639: $? = 0 configure:20639: result: yes configure:20645: checking for sys/sysmp.h configure:20645: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:135:10: fatal error: sys/sysmp.h: No such file or directory 135 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:20645: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20645: result: no configure:20651: checking for sys/tcpipstats.h configure:20651: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:135:10: fatal error: sys/tcpipstats.h: No such file or directory 135 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:20651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20651: result: no configure:20657: checking for sys/utsname.h configure:20657: result: yes configure:20663: checking for sys/vfs.h configure:20663: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20663: $? = 0 configure:20663: result: yes configure:20669: checking for sys/vm.h configure:20669: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:137:10: fatal error: sys/vm.h: No such file or directory 137 | #include | ^~~~~~~~~~ compilation terminated. configure:20669: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20669: result: no configure:20675: checking for sys/vmmac.h configure:20675: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:137:10: fatal error: sys/vmmac.h: No such file or directory 137 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:20675: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20675: result: no configure:20681: checking for sys/vmmeter.h configure:20681: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:137:10: fatal error: sys/vmmeter.h: No such file or directory 137 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20681: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20681: result: no configure:20687: checking for sys/vmparam.h configure:20687: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:137:10: fatal error: sys/vmparam.h: No such file or directory 137 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20687: result: no configure:20693: checking for sys/vmsystm.h configure:20693: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:137:10: fatal error: sys/vmsystm.h: No such file or directory 137 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20693: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20693: result: no configure:20701: checking for asm/page.h configure:20701: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:137:10: fatal error: asm/page.h: No such file or directory 137 | #include | ^~~~~~~~~~~~ compilation terminated. configure:20701: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20701: result: no configure:20707: checking for asm/types.h configure:20707: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20707: $? = 0 configure:20707: result: yes configure:20713: checking for inet/mib2.h configure:20713: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:138:10: fatal error: inet/mib2.h: No such file or directory 138 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:20713: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20713: result: no configure:20719: checking for linux/hdreg.h configure:20719: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20719: $? = 0 configure:20719: result: yes configure:20725: checking for linux/tasks.h configure:20725: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: linux/tasks.h: No such file or directory 139 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20725: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20725: result: no configure:20731: checking for machine/param.h configure:20731: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: machine/param.h: No such file or directory 139 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:20731: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20731: result: no configure:20737: checking for ufs/fs.h configure:20737: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: ufs/fs.h: No such file or directory 139 | #include | ^~~~~~~~~~ compilation terminated. configure:20737: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20737: result: no configure:20743: checking for uvm/uvm_extern.h configure:20743: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: uvm/uvm_extern.h: No such file or directory 139 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:20743: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20743: result: no configure:20749: checking for uvm/uvm_param.h configure:20749: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: uvm/uvm_param.h: No such file or directory 139 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:20749: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20749: result: no configure:20755: checking for vm/vm.h configure:20755: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: vm/vm.h: No such file or directory 139 | #include | ^~~~~~~~~ compilation terminated. configure:20755: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20755: result: no configure:20761: checking for vm/vm_extern.h configure:20761: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: vm/vm_extern.h: No such file or directory 139 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:20761: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20761: result: no configure:20767: checking for vm/vm_param.h configure:20767: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: vm/vm_param.h: No such file or directory 139 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20767: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20767: result: no configure:20776: checking for fcntl.h configure:20776: result: yes configure:20782: checking for grp.h configure:20782: result: yes configure:20788: checking for pwd.h configure:20788: result: yes configure:20794: checking for sys/cdefs.h configure:20794: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20794: $? = 0 configure:20794: result: yes configure:20800: checking for sys/ioctl.h configure:20800: result: yes configure:20806: checking for sys/time.h configure:20806: result: yes configure:20815: checking for search.h configure:20815: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20815: $? = 0 configure:20815: result: yes configure:20821: checking for sgtty.h configure:20821: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20821: $? = 0 configure:20821: result: yes configure:20827: checking for xti.h configure:20827: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:147:10: fatal error: xti.h: No such file or directory 147 | #include | ^~~~~~~ compilation terminated. configure:20827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20827: result: no configure:20833: checking for sys/dmap.h configure:20833: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:147:10: fatal error: sys/dmap.h: No such file or directory 147 | #include | ^~~~~~~~~~~~ compilation terminated. configure:20833: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20833: result: no configure:20839: checking for sys/poll.h configure:20839: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20839: $? = 0 configure:20839: result: yes configure:20845: checking for sys/timeout.h configure:20845: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:148:10: fatal error: sys/timeout.h: No such file or directory 148 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20845: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20845: result: no configure:20851: checking for machine/pte.h configure:20851: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:148:10: fatal error: machine/pte.h: No such file or directory 148 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:20851: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20851: result: no configure:20857: checking for pci/pci.h configure:20857: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20857: $? = 0 configure:20857: result: yes configure:20867: checking for valgrind/valgrind.h configure:20867: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:149:10: fatal error: valgrind/valgrind.h: No such file or directory 149 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:20867: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20867: result: no configure:20873: checking for valgrind/memcheck.h configure:20873: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:149:10: fatal error: valgrind/memcheck.h: No such file or directory 149 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:20873: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:20873: result: no configure:20881: checking for openssl/aes.h configure:20881: result: yes configure:20887: checking for openssl/dh.h configure:20887: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20887: $? = 0 configure:20887: result: yes configure:20893: checking for openssl/des.h configure:20893: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20893: $? = 0 configure:20893: result: yes configure:20899: checking for openssl/err.h configure:20899: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20899: $? = 0 configure:20899: result: yes configure:20905: checking for openssl/evp.h configure:20905: result: yes configure:20911: checking for openssl/hmac.h configure:20911: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20911: $? = 0 configure:20911: result: yes configure:20917: checking for openssl/ssl.h configure:20917: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20917: $? = 0 configure:20917: result: yes configure:20952: checking for sys/swap.h configure:20952: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20952: $? = 0 configure:20952: result: yes configure:20968: checking for malloc.h configure:20968: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:20968: $? = 0 configure:20968: result: yes configure:20982: checking for osreldate.h configure:20982: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: osreldate.h: No such file or directory 139 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:20982: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:20982: result: no configure:20996: checking for machine/types.h configure:20996: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: machine/types.h: No such file or directory 139 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:20996: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:20996: result: no configure:21010: checking for sys/dkstat.h configure:21010: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: sys/dkstat.h: No such file or directory 139 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:21010: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:21010: result: no configure:21024: checking for sys/conf.h configure:21024: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: sys/conf.h: No such file or directory 139 | #include | ^~~~~~~~~~~~ compilation terminated. configure:21024: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:21024: result: no configure:21038: checking for sys/mbuf.h configure:21038: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: sys/mbuf.h: No such file or directory 139 | #include | ^~~~~~~~~~~~ compilation terminated. configure:21038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:21038: result: no configure:21052: checking for sys/mount.h configure:21052: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21052: $? = 0 configure:21052: result: yes configure:21066: checking for sys/proc.h configure:21066: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:140:10: fatal error: sys/proc.h: No such file or directory 140 | #include | ^~~~~~~~~~~~ compilation terminated. configure:21066: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:21066: result: no configure:21080: checking for sys/queue.h configure:21080: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21080: $? = 0 configure:21080: result: yes configure:21094: checking for sys/user.h configure:21094: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21094: $? = 0 configure:21094: result: yes configure:21130: checking for sys/sema.h configure:21130: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:161:10: fatal error: sys/sema.h: No such file or directory 161 | #include | ^~~~~~~~~~~~ compilation terminated. configure:21130: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:21130: result: no configure:21137: checking for sys/hashing.h configure:21137: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:167:10: fatal error: sys/hashing.h: No such file or directory 167 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:21137: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #ifdef HAVE_SYS_SEMA_H | #include | #endif | | | #include configure:21137: result: no configure:21154: checking for sys/vnode.h configure:21154: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:140:10: fatal error: sys/vnode.h: No such file or directory 140 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:21154: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 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 | #ifdef HAVE_SYS_TYPES_H | #include | #endif | | | #include configure:21154: result: no configure:21171: checking for sys/disklabel.h configure:21171: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:145:10: fatal error: sys/disklabel.h: No such file or directory 145 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:21171: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 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. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_MACHINE_TYPES_H | #include | #endif | | | #include configure:21171: result: no configure:21191: checking for nbutil.h configure:21191: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:161:10: fatal error: nbutil.h: No such file or directory 161 | #include | ^~~~~~~~~~ compilation terminated. configure:21191: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 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_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:21191: result: no configure:21202: checking for ufs/ufs/dinode.h configure:21202: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:145:10: fatal error: ufs/ufs/dinode.h: No such file or directory 145 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:21202: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 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. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_UFS_UFS_DINODE_H | #include | #endif | #ifdef HAVE_UFS_UFS_QUOTA_H | #include | #endif | | | #include configure:21202: result: no configure:21219: checking for ufs/ufs/quota.h configure:21219: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:145:10: fatal error: ufs/ufs/quota.h: No such file or directory 145 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:21219: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 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. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_UFS_UFS_DINODE_H | #include | #endif | #ifdef HAVE_UFS_UFS_QUOTA_H | #include | #endif | | | #include configure:21219: result: no configure:21236: checking for ufs/ufs/inode.h configure:21236: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:145:10: fatal error: ufs/ufs/inode.h: No such file or directory 145 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:21236: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 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. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_UFS_UFS_DINODE_H | #include | #endif | #ifdef HAVE_UFS_UFS_QUOTA_H | #include | #endif | | | #include configure:21236: result: no configure:21253: checking for ufs/ffs/fs.h configure:21253: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:145:10: fatal error: ufs/ffs/fs.h: No such file or directory 145 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:21253: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 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. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_UFS_UFS_DINODE_H | #include | #endif | #ifdef HAVE_UFS_UFS_QUOTA_H | #include | #endif | | | #include configure:21253: result: no configure:21275: checking for vm/swap_pager.h configure:21275: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:139:10: fatal error: vm/swap_pager.h: No such file or directory 139 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:21275: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 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. */ | | #ifdef HAVE_VM_VM_H | #include | #endif | | | #include configure:21275: result: no configure:21291: checking for linux/netlink.h configure:21291: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21291: $? = 0 configure:21291: result: yes configure:21308: checking for linux/rtnetlink.h configure:21308: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21308: $? = 0 configure:21308: result: yes configure:21338: checking for sys/socket.h configure:21338: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21338: $? = 0 configure:21338: result: yes configure:21403: checking for sys/un.h configure:21403: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21403: $? = 0 configure:21403: result: yes configure:21468: checking for netinet/tcp_fsm.h configure:21468: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:197:10: fatal error: netinet/tcp_fsm.h: No such file or directory 197 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:21468: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #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. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:21468: result: no configure:21533: checking for sys/sockio.h configure:21533: result: no configure:21598: checking for sys/socketvar.h configure:21598: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21598: $? = 0 configure:21598: result: yes configure:21663: checking for net/if_dl.h configure:21663: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:198:10: fatal error: net/if_dl.h: No such file or directory 198 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:21663: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:21663: result: no configure:21728: checking for net/if_types.h configure:21728: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:198:10: fatal error: net/if_types.h: No such file or directory 198 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:21728: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:21728: result: no configure:21793: checking for arpa/inet.h configure:21793: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21793: $? = 0 configure:21793: result: yes configure:21858: checking for net/if.h configure:21858: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21858: $? = 0 configure:21858: result: yes configure:21923: checking for netinet/in.h configure:21923: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21923: $? = 0 configure:21923: result: yes configure:21988: checking for netdb.h configure:21988: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:21988: $? = 0 configure:21988: result: yes configure:22053: checking for netgroup.h configure:22053: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:202:10: fatal error: netgroup.h: No such file or directory 202 | #include | ^~~~~~~~~~~~ compilation terminated. configure:22053: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:22053: result: no configure:22118: checking for net/if_arp.h configure:22118: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:22118: $? = 0 configure:22118: result: yes configure:22183: checking for net/if_mib.h configure:22183: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:203:10: fatal error: net/if_mib.h: No such file or directory 203 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:22183: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:22183: result: no configure:22248: checking for net/if_var.h configure:22248: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:203:10: fatal error: net/if_var.h: No such file or directory 203 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:22248: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:22248: result: no configure:22313: checking for netinet/if_ether.h configure:22313: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:22313: $? = 0 configure:22313: result: yes configure:22378: checking for netinet/in_systm.h configure:22378: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:22378: $? = 0 configure:22378: result: yes configure:22443: checking for netinet/in_var.h configure:22443: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:205:10: fatal error: netinet/in_var.h: No such file or directory 205 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:22443: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:22443: result: no configure:22508: checking for netinet/ip.h configure:22508: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:22508: $? = 0 configure:22508: result: yes configure:22573: checking for netinet/ip_icmp.h configure:22573: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:22573: $? = 0 configure:22573: result: yes configure:22638: checking for netinet/icmp_var.h configure:22638: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:207:10: fatal error: netinet/icmp_var.h: No such file or directory 207 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:22638: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:22638: result: no configure:22703: checking for netinet/ip_var.h configure:22703: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:207:10: fatal error: netinet/ip_var.h: No such file or directory 207 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:22703: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:22703: result: no configure:22768: checking for netinet/tcp.h configure:22768: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:22768: $? = 0 configure:22768: result: yes configure:22833: checking for netinet/tcp_timer.h configure:22833: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:208:10: fatal error: netinet/tcp_timer.h: No such file or directory 208 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:22833: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:22833: result: no configure:22898: checking for netinet/tcp_var.h configure:22898: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:208:10: fatal error: netinet/tcp_var.h: No such file or directory 208 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:22898: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:22898: result: no configure:22963: checking for netinet/tcpip.h configure:22963: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:208:10: fatal error: netinet/tcpip.h: No such file or directory 208 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:22963: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:22963: result: no configure:23028: checking for netinet/udp.h configure:23028: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:23028: $? = 0 configure:23028: result: yes configure:23093: checking for netinet/udp_var.h configure:23093: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:209:10: fatal error: netinet/udp_var.h: No such file or directory 209 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:23093: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:23093: result: no configure:23158: checking for net/route.h configure:23158: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:23158: $? = 0 configure:23158: result: yes configure:23223: checking for netinet/icmp6.h configure:23223: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:23223: $? = 0 configure:23223: result: yes configure:23288: checking for netinet/in_pcb.h configure:23288: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:211:10: fatal error: netinet/in_pcb.h: No such file or directory 211 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:23288: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:23288: result: no configure:23353: checking for netinet/ip6.h configure:23353: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:23353: $? = 0 configure:23353: result: yes configure:23418: checking for netinet6/in6_var.h configure:23418: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:212:10: fatal error: netinet6/in6_var.h: No such file or directory 212 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:23418: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:23418: result: no configure:23483: checking for netinet6/in6_pcb.h configure:23483: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:212:10: fatal error: netinet6/in6_pcb.h: No such file or directory 212 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:23483: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:23483: result: no configure:23548: checking for netinet6/ip6_var.h configure:23548: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:212:10: fatal error: netinet6/ip6_var.h: No such file or directory 212 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:23548: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:23548: result: no configure:23613: checking for netinet6/nd6.h configure:23613: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:212:10: fatal error: netinet6/nd6.h: No such file or directory 212 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:23613: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:23613: result: no configure:23678: checking for netinet6/tcp6.h configure:23678: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:212:10: fatal error: netinet6/tcp6.h: No such file or directory 212 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:23678: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:23678: result: no configure:23743: checking for netinet6/tcp6_fsm.h configure:23743: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:212:10: fatal error: netinet6/tcp6_fsm.h: No such file or directory 212 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:23743: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:23743: result: no configure:23808: checking for netinet6/tcp6_timer.h configure:23808: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:212:10: fatal error: netinet6/tcp6_timer.h: No such file or directory 212 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:23808: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:23808: result: no configure:23873: checking for netinet6/tcp6_var.h configure:23873: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:212:10: fatal error: netinet6/tcp6_var.h: No such file or directory 212 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:23873: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_SOCKETVAR_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #ifdef HAVE_NETINET_IN_SYSTM_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NETINET_IP_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_VAR_H | #include | #endif | #ifdef HAVE_NETINET_IP_ICMP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_UDP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_IP6_H | #include | #endif | #ifdef HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:23873: result: no configure:23961: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:23961: $? = 0 configure:23963: checking for linux/ethtool.h configure:23963: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:23963: $? = 0 configure:23963: result: yes configure:24001: checking for pkginfo.h configure:24001: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:181:10: fatal error: pkginfo.h: No such file or directory 181 | #include | ^~~~~~~~~~~ compilation terminated. configure:24001: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:24001: result: no configure:24099: checking for pkg.h configure:24099: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:181:10: fatal error: pkg.h: No such file or directory 181 | #include | ^~~~~~~ compilation terminated. configure:24099: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:24099: result: no configure:24204: checking for pkg.h configure:24204: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include conftest.c >&5 conftest.c:181:10: fatal error: pkg.h: No such file or directory 181 | #include | ^~~~~~~ compilation terminated. configure:24204: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:24204: result: no configure:24518: checking for windows.h configure:24518: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:159:10: fatal error: windows.h: No such file or directory 159 | #include | ^~~~~~~~~~~ compilation terminated. configure:24518: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_WINDOWS_H | #include | #endif | | | #include configure:24518: result: no configure:24529: checking for iphlpapi.h configure:24529: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:159:10: fatal error: iphlpapi.h: No such file or directory 159 | #include | ^~~~~~~~~~~~ compilation terminated. configure:24529: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_WINDOWS_H | #include | #endif | | | #include configure:24529: result: no configure:24544: checking for lm.h configure:24544: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:159:10: fatal error: lm.h: No such file or directory 159 | #include | ^~~~~~ compilation terminated. configure:24544: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_WINDOWS_H | #include | #endif | | | #include configure:24544: result: no configure:24589: checking for sensors/sensors.h configure:24589: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24589: $? = 0 configure:24589: result: yes configure:24595: checking for picl.h configure:24595: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:182:10: fatal error: picl.h: No such file or directory 182 | #include | ^~~~~~~~ compilation terminated. configure:24595: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:24595: result: no configure:24613: checking for struct rtentry.rt_dst configure:24613: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:182:5: error: used struct type value where scalar is required 182 | if (ac_aggr.rt_dst) | ^~~~~~~ configure:24613: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main (void) | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_dst) | return 0; | ; | return 0; | } configure:24613: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24613: $? = 0 configure:24613: result: yes configure:24644: checking for struct rtentry.rt_hash configure:24644: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:183:12: error: 'struct rtentry' has no member named 'rt_hash' 183 | if (ac_aggr.rt_hash) | ^ configure:24644: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main (void) | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_hash) | return 0; | ; | return 0; | } configure:24644: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:183:19: error: 'struct rtentry' has no member named 'rt_hash' 183 | if (sizeof ac_aggr.rt_hash) | ^ configure:24644: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main (void) | { | static struct rtentry ac_aggr; | if (sizeof ac_aggr.rt_hash) | return 0; | ; | return 0; | } configure:24644: result: no configure:24675: checking for struct rtentry.rt_next configure:24675: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:183:12: error: 'struct rtentry' has no member named 'rt_next' 183 | if (ac_aggr.rt_next) | ^ configure:24675: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main (void) | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_next) | return 0; | ; | return 0; | } configure:24675: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:183:19: error: 'struct rtentry' has no member named 'rt_next' 183 | if (sizeof ac_aggr.rt_next) | ^ configure:24675: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main (void) | { | static struct rtentry ac_aggr; | if (sizeof ac_aggr.rt_next) | return 0; | ; | return 0; | } configure:24675: result: no configure:24706: checking for struct rtentry.rt_refcnt configure:24706: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:183:12: error: 'struct rtentry' has no member named 'rt_refcnt' 183 | if (ac_aggr.rt_refcnt) | ^ configure:24706: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main (void) | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_refcnt) | return 0; | ; | return 0; | } configure:24706: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:183:19: error: 'struct rtentry' has no member named 'rt_refcnt' 183 | if (sizeof ac_aggr.rt_refcnt) | ^ configure:24706: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main (void) | { | static struct rtentry ac_aggr; | if (sizeof ac_aggr.rt_refcnt) | return 0; | ; | return 0; | } configure:24706: result: no configure:24737: checking for struct rtentry.rt_unit configure:24737: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:183:12: error: 'struct rtentry' has no member named 'rt_unit' 183 | if (ac_aggr.rt_unit) | ^ configure:24737: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main (void) | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_unit) | return 0; | ; | return 0; | } configure:24737: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:183:19: error: 'struct rtentry' has no member named 'rt_unit' 183 | if (sizeof ac_aggr.rt_unit) | ^ configure:24737: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main (void) | { | static struct rtentry ac_aggr; | if (sizeof ac_aggr.rt_unit) | return 0; | ; | return 0; | } configure:24737: result: no configure:24768: checking for struct rtentry.rt_use configure:24768: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:183:13: error: 'struct rtentry' has no member named 'rt_use'; did you mean 'rt_dst'? 183 | if (ac_aggr.rt_use) | ^~~~~~ | rt_dst configure:24768: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main (void) | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_use) | return 0; | ; | return 0; | } configure:24768: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:183:20: error: 'struct rtentry' has no member named 'rt_use'; did you mean 'rt_dst'? 183 | if (sizeof ac_aggr.rt_use) | ^~~~~~ | rt_dst configure:24768: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main (void) | { | static struct rtentry ac_aggr; | if (sizeof ac_aggr.rt_use) | return 0; | ; | return 0; | } configure:24768: result: no configure:24903: checking size of short configure:24909: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24909: $? = 0 configure:24909: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:186:12: error: size of array 'test_array' is negative 186 | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)]; | ^~~~~~~~~~ configure:24909: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:24909: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:186:12: error: size of array 'test_array' is negative 186 | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)]; | ^~~~~~~~~~ configure:24909: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:24909: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24909: $? = 0 configure:24909: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24909: $? = 0 configure:24926: result: 2 configure:24938: checking size of int configure:24944: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24944: $? = 0 configure:24944: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:187:12: error: size of array 'test_array' is negative 187 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)]; | ^~~~~~~~~~ configure:24944: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:24944: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:187:12: error: size of array 'test_array' is negative 187 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)]; | ^~~~~~~~~~ configure:24944: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:24944: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:187:12: error: size of array 'test_array' is negative 187 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)]; | ^~~~~~~~~~ configure:24944: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:24944: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24944: $? = 0 configure:24944: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24944: $? = 0 configure:24944: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24944: $? = 0 configure:24961: result: 4 configure:24973: checking size of long configure:24979: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24979: $? = 0 configure:24979: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:188:12: error: size of array 'test_array' is negative 188 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)]; | ^~~~~~~~~~ configure:24979: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:24979: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:188:12: error: size of array 'test_array' is negative 188 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)]; | ^~~~~~~~~~ configure:24979: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:24979: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:188:12: error: size of array 'test_array' is negative 188 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)]; | ^~~~~~~~~~ configure:24979: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:24979: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:188:12: error: size of array 'test_array' is negative 188 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)]; | ^~~~~~~~~~ configure:24979: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:24979: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24979: $? = 0 configure:24979: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24979: $? = 0 configure:24979: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24979: $? = 0 configure:24979: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:24979: $? = 0 configure:24996: result: 8 configure:25008: checking size of long long configure:25014: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25014: $? = 0 configure:25014: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:189:12: error: size of array 'test_array' is negative 189 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)]; | ^~~~~~~~~~ configure:25014: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25014: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:189:12: error: size of array 'test_array' is negative 189 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)]; | ^~~~~~~~~~ configure:25014: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25014: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:189:12: error: size of array 'test_array' is negative 189 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)]; | ^~~~~~~~~~ configure:25014: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25014: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:189:12: error: size of array 'test_array' is negative 189 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)]; | ^~~~~~~~~~ configure:25014: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25014: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25014: $? = 0 configure:25014: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25014: $? = 0 configure:25014: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25014: $? = 0 configure:25014: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25014: $? = 0 configure:25031: result: 8 configure:25043: checking size of intmax_t configure:25049: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25049: $? = 0 configure:25049: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:190:12: error: size of array 'test_array' is negative 190 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 0)]; | ^~~~~~~~~~ configure:25049: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25049: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:190:12: error: size of array 'test_array' is negative 190 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 1)]; | ^~~~~~~~~~ configure:25049: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25049: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:190:12: error: size of array 'test_array' is negative 190 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 3)]; | ^~~~~~~~~~ configure:25049: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25049: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:190:12: error: size of array 'test_array' is negative 190 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 7)]; | ^~~~~~~~~~ configure:25049: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25049: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25049: $? = 0 configure:25049: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25049: $? = 0 configure:25049: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25049: $? = 0 configure:25049: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25049: $? = 0 configure:25066: result: 8 configure:25075: checking for int8_t configure:25075: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25075: $? = 0 configure:25075: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:192:12: error: size of array 'test_array' is negative 192 | static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:25075: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | enum { N = 8 / 2 - 1 }; | int | main (void) | { | 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:25075: result: yes configure:25084: checking for int16_t configure:25084: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25084: $? = 0 configure:25084: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:192:12: error: size of array 'test_array' is negative 192 | static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:25084: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | enum { N = 16 / 2 - 1 }; | int | main (void) | { | 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:25084: result: yes configure:25093: checking for int32_t configure:25093: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25093: $? = 0 configure:25093: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:193:67: warning: integer overflow in expression of type 'int' results in '-2147483648' [-Woverflow] 193 | < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; | ^ conftest.c:192:12: error: storage size of 'test_array' isn't constant 192 | static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:25093: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | enum { N = 32 / 2 - 1 }; | int | main (void) | { | 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:25093: result: yes configure:25102: checking for int64_t configure:25102: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25102: $? = 0 configure:25102: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:193:67: warning: integer overflow in expression of type 'long int' results in '-9223372036854775808' [-Woverflow] 193 | < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; | ^ conftest.c:192:12: error: storage size of 'test_array' isn't constant 192 | static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:25102: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | enum { N = 64 / 2 - 1 }; | int | main (void) | { | 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:25102: result: yes configure:25112: checking for unsigned long long int configure:25154: riscv64-linux-gnu-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:25154: $? = 0 configure:25166: result: yes configure:25176: checking for long long int configure:25234: result: yes configure:25244: checking for intmax_t configure:25244: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25244: $? = 0 configure:25244: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:193:23: error: expected expression before ')' token 193 | if (sizeof ((intmax_t))) | ^ configure:25244: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((intmax_t))) | return 0; | ; | return 0; | } configure:25244: result: yes configure:25261: checking for uint8_t configure:25261: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25261: $? = 0 configure:25261: result: yes configure:25273: checking for uint16_t configure:25273: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25273: $? = 0 configure:25273: result: yes configure:25283: checking for uint32_t configure:25283: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25283: $? = 0 configure:25283: result: yes configure:25295: checking for uint64_t configure:25295: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25295: $? = 0 configure:25295: result: yes configure:25309: checking for uintmax_t configure:25309: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25309: $? = 0 configure:25309: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:194:24: error: expected expression before ')' token 194 | if (sizeof ((uintmax_t))) | ^ configure:25309: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((uintmax_t))) | return 0; | ; | return 0; | } configure:25309: result: yes configure:25327: checking for intptr_t configure:25327: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25327: $? = 0 configure:25327: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:195:23: error: expected expression before ')' token 195 | if (sizeof ((intptr_t))) | ^ configure:25327: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((intptr_t))) | return 0; | ; | return 0; | } configure:25327: result: yes configure:25364: checking for uintptr_t configure:25364: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25364: $? = 0 configure:25364: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:196:24: error: expected expression before ')' token 196 | if (sizeof ((uintptr_t))) | ^ configure:25364: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((uintptr_t))) | return 0; | ; | return 0; | } configure:25364: result: yes configure:25406: checking for off64_t configure:25406: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25406: $? = 0 configure:25406: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:197:22: error: expected expression before ')' token 197 | if (sizeof ((off64_t))) | ^ configure:25406: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((off64_t))) | return 0; | ; | return 0; | } configure:25406: result: yes configure:25415: checking for nfds_t configure:25415: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25415: $? = 0 configure:25415: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:172:21: error: expected expression before ')' token 172 | if (sizeof ((nfds_t))) | ^ configure:25415: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | /* end confdefs.h. */ | #include | | int | main (void) | { | if (sizeof ((nfds_t))) | return 0; | ; | return 0; | } configure:25415: result: yes configure:25429: checking for Counter64 configure:25429: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:168:10: fatal error: inet/mib2.h: No such file or directory 168 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:25429: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | /* end confdefs.h. */ | #include | | int | main (void) | { | if (sizeof (Counter64)) | return 0; | ; | return 0; | } configure:25429: result: no configure:25439: checking for mib2_ipIfStatsEntry_t configure:25439: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:168:10: fatal error: inet/mib2.h: No such file or directory 168 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:25439: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | /* end confdefs.h. */ | #include | | int | main (void) | { | if (sizeof (mib2_ipIfStatsEntry_t)) | return 0; | ; | return 0; | } configure:25439: result: no configure:25457: checking for struct in_ifaddr.ia_subnetmask configure:25457: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:177:25: error: storage size of 'ac_aggr' isn't known 177 | static struct in_ifaddr ac_aggr; | ^~~~~~~ configure:25457: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | /* end confdefs.h. */ | | #ifdef HAVE_NETINET_IN_VAR_H | #include | #endif | | | int | main (void) | { | static struct in_ifaddr ac_aggr; | if (ac_aggr.ia_subnetmask) | return 0; | ; | return 0; | } configure:25457: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:177:25: error: storage size of 'ac_aggr' isn't known 177 | static struct in_ifaddr ac_aggr; | ^~~~~~~ configure:25457: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | /* end confdefs.h. */ | | #ifdef HAVE_NETINET_IN_VAR_H | #include | #endif | | | int | main (void) | { | static struct in_ifaddr ac_aggr; | if (sizeof ac_aggr.ia_subnetmask) | return 0; | ; | return 0; | } configure:25457: result: no configure:25485: checking ipv6 stack type conftest.c:169:10: fatal error: /usr/local/v6/include/sys/types.h: No such file or directory 169 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:25567: result: postponed configure:25569: checking for struct sockaddr_in6.sin6_addr configure:25569: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:218:5: error: used struct type value where scalar is required 218 | if (ac_aggr.sin6_addr) | ^~~~~~~ configure:25569: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | /* end confdefs.h. */ | | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_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 (void) | { | static struct sockaddr_in6 ac_aggr; | if (ac_aggr.sin6_addr) | return 0; | ; | return 0; | } configure:25569: riscv64-linux-gnu-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:25569: $? = 0 configure:25569: result: yes configure:25593: checking ipv6 stack type configure:25616: result: "generic, yes, using libc" configure:25655: checking for platform-specific source configure:25703: result: sd-daemon.c sd-daemon.o sd-daemon.lo configure:25705: result: configure:25737: checking for and configuring transport modules to use configure:25897: result: Callback Unix Alias TCP UDP TCPIPv6 UDPIPv6 TLSTCP DTLSUDP IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase IPBase IPv6Base TLSBase. configure:25912: checking for security modules to use configure:25991: result: tsm usm configure:26572: checking for riscv64-linux-gnu-gcc options needed to detect all undeclared functions configure:26594: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:191:8: error: 'strchr' undeclared (first use in this function) 191 | (void) strchr; | ^~~~~~ conftest.c:1:1: note: 'strchr' is defined in header ''; this is probably fixable by adding '#include ' 1 | /* confdefs.h */ conftest.c:191:8: note: each undeclared identifier is reported only once for each function it appears in 191 | (void) strchr; | ^~~~~~ configure:26594: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | /* end confdefs.h. */ | | int | main (void) | { | (void) strchr; | ; | return 0; | } configure:26621: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:26621: $? = 0 configure:26641: result: none needed configure:26655: checking whether sensors_get_all_subfeatures is declared configure:26655: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:26655: $? = 0 configure:26655: result: yes configure:26772: checking for rpm/rpmlib.h configure:26772: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:217:10: fatal error: rpm/rpmlib.h: No such file or directory 217 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:26772: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:26772: result: no configure:26778: checking for rpm/header.h configure:26778: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:217:10: fatal error: rpm/header.h: No such file or directory 217 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:26778: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:26778: result: no configure:26786: checking for rpm/rpmlib.h configure:26786: result: no configure:26795: checking for rpm/header.h configure:26795: result: no configure:27065: checking for library containing getfsstat configure:27101: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccbhH5gD.o: in function `main': ././conftest.c:203:(.text.startup+0x4): undefined reference to `getfsstat' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `getfsstat' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27101: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char getfsstat (void); | int | main (void) | { | return getfsstat (); | ; | return 0; | } configure:27101: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lnbutil >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lnbutil: No such file or directory collect2: error: ld returned 1 exit status configure:27101: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char getfsstat (void); | int | main (void) | { | return getfsstat (); | ; | return 0; | } configure:27123: result: no configure:27132: checking for getfsstat configure:27132: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccakHZ3H.o: in function `main': ././conftest.c:216:(.text.startup+0x4): undefined reference to `getfsstat' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `getfsstat' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27132: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | /* end confdefs.h. */ | /* Define getfsstat to an innocuous variant, in case declares getfsstat. | For example, HP-UX 11i declares gettimeofday. */ | #define getfsstat innocuous_getfsstat | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getfsstat (void); below. */ | | #include | #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 (void); | /* 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 (void) | { | return getfsstat (); | ; | return 0; | } configure:27132: result: no configure:27139: checking for getvfsstat configure:27139: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccbdFXX7.o: in function `main': ././conftest.c:216:(.text.startup+0x4): undefined reference to `getvfsstat' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `getvfsstat' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | /* end confdefs.h. */ | /* Define getvfsstat to an innocuous variant, in case declares getvfsstat. | For example, HP-UX 11i declares gettimeofday. */ | #define getvfsstat innocuous_getvfsstat | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getvfsstat (void); below. */ | | #include | #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 (void); | /* 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 (void) | { | return getvfsstat (); | ; | return 0; | } configure:27139: result: no configure:27148: checking for library containing getmntent configure:27184: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:27184: $? = 0 configure:27206: result: none required configure:27226: checking for library containing kinfo_get_cpus configure:27262: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccJu38sE.o: in function `main': ././conftest.c:204:(.text.startup+0x4): undefined reference to `kinfo_get_cpus' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kinfo_get_cpus' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27262: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kinfo_get_cpus (void); | int | main (void) | { | return kinfo_get_cpus (); | ; | return 0; | } configure:27262: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lkinfo >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lkinfo: No such file or directory collect2: error: ld returned 1 exit status configure:27262: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kinfo_get_cpus (void); | int | main (void) | { | return kinfo_get_cpus (); | ; | return 0; | } configure:27284: result: no configure:27293: checking for kinfo_get_cpus configure:27293: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/cc61zwFI.o: in function `main': ././conftest.c:217:(.text.startup+0x4): undefined reference to `kinfo_get_cpus' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kinfo_get_cpus' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27293: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kinfo_get_cpus to an innocuous variant, in case declares kinfo_get_cpus. | For example, HP-UX 11i declares gettimeofday. */ | #define kinfo_get_cpus innocuous_kinfo_get_cpus | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kinfo_get_cpus (void); below. */ | | #include | #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 (void); | /* 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 (void) | { | return kinfo_get_cpus (); | ; | return 0; | } configure:27293: result: no configure:27305: checking for library containing exp configure:27337: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 conftest.c:200:6: warning: conflicting types for built-in function 'exp'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 200 | char exp (void); | ^~~ conftest.c:1:1: note: 'exp' is declared in header '' 1 | /* confdefs.h */ /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccUkR33S.o: in function `main': ././conftest.c:204:(.text.startup+0x4): undefined reference to `exp' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `exp' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27337: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char exp (void); | int | main (void) | { | return exp (); | ; | return 0; | } configure:27364: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 conftest.c:200:6: warning: conflicting types for built-in function 'exp'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 200 | char exp (void); | ^~~ conftest.c:1:1: note: 'exp' is declared in header '' 1 | /* confdefs.h */ configure:27364: $? = 0 configure:27380: result: -lm configure:27395: checking for library containing kvm_read configure:27427: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccExdHW4.o: in function `main': ././conftest.c:204:(.text.startup+0x4): undefined reference to `kvm_read' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_read' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27427: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_read (void); | int | main (void) | { | return kvm_read (); | ; | return 0; | } configure:27454: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lkvm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lkvm: No such file or directory collect2: error: ld returned 1 exit status configure:27454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_read (void); | int | main (void) | { | return kvm_read (); | ; | return 0; | } configure:27470: result: no configure:27481: checking for library containing kvm_openfiles configure:27513: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccbQBCJZ.o: in function `main': ././conftest.c:204:(.text.startup+0x4): undefined reference to `kvm_openfiles' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_openfiles' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27513: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_openfiles (void); | int | main (void) | { | return kvm_openfiles (); | ; | return 0; | } configure:27540: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lkvm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lkvm: No such file or directory collect2: error: ld returned 1 exit status configure:27540: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_openfiles (void); | int | main (void) | { | return kvm_openfiles (); | ; | return 0; | } configure:27556: result: no configure:27567: checking for library containing kvm_getprocs configure:27599: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccCXD00E.o: in function `main': ././conftest.c:204:(.text.startup+0x4): undefined reference to `kvm_getprocs' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_getprocs' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27599: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_getprocs (void); | int | main (void) | { | return kvm_getprocs (); | ; | return 0; | } configure:27626: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lkvm -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lkvm: No such file or directory collect2: error: ld returned 1 exit status configure:27626: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_getprocs (void); | int | main (void) | { | return kvm_getprocs (); | ; | return 0; | } configure:27642: result: no configure:27653: checking for library containing kvm_getproc2 configure:27685: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/cca7GTae.o: in function `main': ././conftest.c:204:(.text.startup+0x4): undefined reference to `kvm_getproc2' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_getproc2' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27685: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_getproc2 (void); | int | main (void) | { | return kvm_getproc2 (); | ; | return 0; | } configure:27712: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lkvm -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lkvm: No such file or directory collect2: error: ld returned 1 exit status configure:27712: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_getproc2 (void); | int | main (void) | { | return kvm_getproc2 (); | ; | return 0; | } configure:27728: result: no configure:27739: checking for library containing kvm_getfiles configure:27771: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccvNT18j.o: in function `main': ././conftest.c:204:(.text.startup+0x4): undefined reference to `kvm_getfiles' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_getfiles' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27771: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_getfiles (void); | int | main (void) | { | return kvm_getfiles (); | ; | return 0; | } configure:27798: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lkvm -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lkvm: No such file or directory collect2: error: ld returned 1 exit status configure:27798: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_getfiles (void); | int | main (void) | { | return kvm_getfiles (); | ; | return 0; | } configure:27814: result: no configure:27825: checking for library containing kvm_getfile2 configure:27857: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/cc3VHild.o: in function `main': ././conftest.c:204:(.text.startup+0x4): undefined reference to `kvm_getfile2' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_getfile2' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27857: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_getfile2 (void); | int | main (void) | { | return kvm_getfile2 (); | ; | return 0; | } configure:27884: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lkvm -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lkvm: No such file or directory collect2: error: ld returned 1 exit status configure:27884: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_getfile2 (void); | int | main (void) | { | return kvm_getfile2 (); | ; | return 0; | } configure:27900: result: no configure:27911: checking for library containing kvm_getswapinfo configure:27943: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/cc02K88e.o: in function `main': ././conftest.c:204:(.text.startup+0x4): undefined reference to `kvm_getswapinfo' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_getswapinfo' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27943: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_getswapinfo (void); | int | main (void) | { | return kvm_getswapinfo (); | ; | return 0; | } configure:27970: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lkvm -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lkvm: No such file or directory collect2: error: ld returned 1 exit status configure:27970: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kvm_getswapinfo (void); | int | main (void) | { | return kvm_getswapinfo (); | ; | return 0; | } configure:27986: result: no configure:27998: checking for kvm_openfiles configure:27998: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/cckI1Y19.o: in function `main': ././conftest.c:217:(.text.startup+0x4): undefined reference to `kvm_openfiles' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_openfiles' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:27998: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_openfiles to an innocuous variant, in case declares kvm_openfiles. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_openfiles innocuous_kvm_openfiles | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_openfiles (void); below. */ | | #include | #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 (void); | /* 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 (void) | { | return kvm_openfiles (); | ; | return 0; | } configure:27998: result: no configure:28004: checking for kvm_getprocs configure:28004: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccsyIEb1.o: in function `main': ././conftest.c:217:(.text.startup+0x4): undefined reference to `kvm_getprocs' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_getprocs' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:28004: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_getprocs to an innocuous variant, in case declares kvm_getprocs. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_getprocs innocuous_kvm_getprocs | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_getprocs (void); below. */ | | #include | #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 (void); | /* 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 (void) | { | return kvm_getprocs (); | ; | return 0; | } configure:28004: result: no configure:28010: checking for kvm_getproc2 configure:28010: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccgxZQPi.o: in function `main': ././conftest.c:217:(.text.startup+0x4): undefined reference to `kvm_getproc2' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_getproc2' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:28010: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_getproc2 to an innocuous variant, in case declares kvm_getproc2. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_getproc2 innocuous_kvm_getproc2 | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_getproc2 (void); below. */ | | #include | #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 (void); | /* 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 (void) | { | return kvm_getproc2 (); | ; | return 0; | } configure:28010: result: no configure:28016: checking for kvm_getswapinfo configure:28016: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccEJYmXR.o: in function `main': ././conftest.c:217:(.text.startup+0x4): undefined reference to `kvm_getswapinfo' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_getswapinfo' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:28016: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_getswapinfo to an innocuous variant, in case declares kvm_getswapinfo. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_getswapinfo innocuous_kvm_getswapinfo | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_getswapinfo (void); below. */ | | #include | #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 (void); | /* 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 (void) | { | return kvm_getswapinfo (); | ; | return 0; | } configure:28016: result: no configure:28022: checking for kvm_getfiles configure:28022: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccgREY4X.o: in function `main': ././conftest.c:217:(.text.startup+0x4): undefined reference to `kvm_getfiles' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_getfiles' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:28022: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_getfiles to an innocuous variant, in case declares kvm_getfiles. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_getfiles innocuous_kvm_getfiles | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_getfiles (void); below. */ | | #include | #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 (void); | /* 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 (void) | { | return kvm_getfiles (); | ; | return 0; | } configure:28022: result: no configure:28028: checking for kvm_getfile2 configure:28028: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccxHQRxU.o: in function `main': ././conftest.c:217:(.text.startup+0x4): undefined reference to `kvm_getfile2' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `kvm_getfile2' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:28028: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_getfile2 to an innocuous variant, in case declares kvm_getfile2. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_getfile2 innocuous_kvm_getfile2 | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_getfile2 (void); below. */ | | #include | #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 (void); | /* 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 (void) | { | return kvm_getfile2 (); | ; | return 0; | } configure:28028: result: no configure:28041: checking for library containing dlopen configure:28073: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 configure:28073: $? = 0 configure:28116: result: none required configure:28128: checking for dlopen configure:28128: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 configure:28128: $? = 0 configure:28128: result: yes configure:28141: checking for pcre.h configure:28141: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:219:10: fatal error: pcre.h: No such file or directory 219 | #include | ^~~~~~~~ compilation terminated. configure:28141: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:28141: result: no configure:28296: checking for riscv64-linux-gnu-pkg-config configure:28319: found /usr/bin/riscv64-linux-gnu-pkg-config configure:28332: result: /usr/bin/riscv64-linux-gnu-pkg-config configure:28406: checking pkg-config is at least version 0.9.0 configure:28409: result: yes configure:28418: $PKG_CONFIG --exists --print-errors "libnl-3.0" configure:28421: $? = 0 configure:28425: checking for LIBNL3 configure:28432: $PKG_CONFIG --exists --print-errors "libnl-3.0" configure:28435: $? = 0 configure:28449: $PKG_CONFIG --exists --print-errors "libnl-3.0" configure:28452: $? = 0 configure:28510: result: yes configure:28516: $PKG_CONFIG --exists --print-errors "libnl-route-3.0" configure:28519: $? = 0 configure:28523: checking for LIBNLROUTE3 configure:28530: $PKG_CONFIG --exists --print-errors "libnl-route-3.0" configure:28533: $? = 0 configure:28547: $PKG_CONFIG --exists --print-errors "libnl-route-3.0" configure:28550: $? = 0 configure:28608: result: yes configure:28620: checking for library containing nl_connect configure:28652: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccanPqNQ.o: in function `main': ././conftest.c:205:(.text.startup+0x4): undefined reference to `nl_connect' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `nl_connect' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:28652: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | /* 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. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char nl_connect (void); | int | main (void) | { | return nl_connect (); | ; | return 0; | } configure:28679: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lnl-3 -lm >&5 configure:28679: $? = 0 configure:28695: result: -lnl-3 configure:28701: checking for netlink/cache.h configure:28701: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:28701: $? = 0 configure:28701: result: yes configure:28707: checking for netlink/msg.h configure:28707: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:28707: $? = 0 configure:28707: result: yes configure:28713: checking for netlink/netlink.h configure:28713: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:28713: $? = 0 configure:28713: result: yes configure:28719: checking for netlink/socket.h configure:28719: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:28719: $? = 0 configure:28719: result: yes configure:28732: checking for library containing rtnl_link_alloc_cache configure:28764: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lnl-3 -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccYqv2oY.o: in function `main': ././conftest.c:209:(.text.startup+0x4): undefined reference to `rtnl_link_alloc_cache' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `rtnl_link_alloc_cache' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:28764: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_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. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char rtnl_link_alloc_cache (void); | int | main (void) | { | return rtnl_link_alloc_cache (); | ; | return 0; | } configure:28791: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lnl-route-3 -lnl-3 -lm >&5 configure:28791: $? = 0 configure:28807: result: -lnl-route-3 configure:28813: checking for netlink/route/addr.h configure:28813: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:28813: $? = 0 configure:28813: result: yes configure:28819: checking for netlink/route/link.h configure:28819: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:28819: $? = 0 configure:28819: result: yes configure:28991: checking for and configuring mib modules to use configure:29063: result: default_modules disman/event-mib etherlike-mib/dot3StatsTable host mibII/mta_sendmail smux ucd-snmp/diskio ucd-snmp/dlmod ucd-snmp/lmsensorsMib. configure:29882: result: . configure:29900: checking if directories need to be created configure:29905: result: . configure:29911: checking default mib files to read configure:29936: result: :SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB configure:29969: checking whether we have to build PIC code configure:29974: result: yes configure:30266: checking for library containing socket configure:30302: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:30302: $? = 0 configure:30324: result: none required configure:30336: checking for library containing gethostbyname configure:30372: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:30372: $? = 0 configure:30394: result: none required configure:30403: checking for gethostbyname configure:30403: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:30403: $? = 0 configure:30403: result: yes configure:30410: checking for library containing gethostbyaddr configure:30446: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:30446: $? = 0 configure:30468: result: none required configure:30477: checking for gethostbyaddr configure:30477: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:30477: $? = 0 configure:30477: result: yes configure:30508: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -liphlpapi >&5 conftest.c:204:12: fatal error: winsock2.h: No such file or directory 204 | #include | ^~~~~~~~~~~~ compilation terminated. configure:30508: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | #include | #include | | int | main (void) | { | | IpRenewAddress(0); | | ; | return 0; | } configure:30529: checking for MIB_IF_TABLE2 configure:30549: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 conftest.c:205:12: fatal error: winsock2.h: No such file or directory 205 | #include | ^~~~~~~~~~~~ compilation terminated. configure:30549: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | #define _WIN32_WINNT 0xffff | #include | #include | #include | | int | main (void) | { | | return sizeof(MIB_IF_TABLE2) | | ; | return 0; | } configure:30558: result: no configure:30586: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lregex >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lregex: No such file or directory collect2: error: ld returned 1 exit status configure:30586: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | #include | #include | | int | main (void) | { | | regcomp(0, 0, 0); | | ; | return 0; | } configure:30622: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lsnmpapi >&5 conftest.c:204:12: fatal error: snmp.h: No such file or directory 204 | #include | ^~~~~~~~ compilation terminated. configure:30622: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | #include | | int | main (void) | { | | SnmpUtilMemAlloc(0); | | ; | return 0; | } configure:30641: checking for kstat_lookup in -lkstat configure:30670: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lkstat >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lkstat: No such file or directory collect2: error: ld returned 1 exit status configure:30670: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-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. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char kstat_lookup (void); | int | main (void) | { | return kstat_lookup (); | ; | return 0; | } configure:30682: result: no configure:30693: checking for in6addr_any in -lsocket configure:30722: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lsocket >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -lsocket: No such file or directory collect2: error: ld returned 1 exit status configure:30722: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-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. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char in6addr_any (void); | int | main (void) | { | return in6addr_any (); | ; | return 0; | } configure:30734: result: no configure:30748: checking for library containing clock_gettime configure:30780: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:30780: $? = 0 configure:30823: result: none required configure:30849: checking for library containing getdevs configure:30881: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lnl-route-3 -lnl-3 -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/cc7S1axi.o: in function `main': ././conftest.c:218:(.text.startup+0x4): undefined reference to `getdevs' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `getdevs' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:30881: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-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. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char getdevs (void); | int | main (void) | { | return getdevs (); | ; | return 0; | } configure:30908: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -ldevstat -lnl-route-3 -lnl-3 -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -ldevstat: No such file or directory collect2: error: ld returned 1 exit status configure:30908: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-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. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char getdevs (void); | int | main (void) | { | return getdevs (); | ; | return 0; | } configure:30924: result: no configure:30937: checking for library containing devstat_getdevs configure:30969: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lnl-route-3 -lnl-3 -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccqgB8am.o: in function `main': ././conftest.c:218:(.text.startup+0x4): undefined reference to `devstat_getdevs' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `devstat_getdevs' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:30969: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-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. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char devstat_getdevs (void); | int | main (void) | { | return devstat_getdevs (); | ; | return 0; | } configure:30996: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -ldevstat -lnl-route-3 -lnl-3 -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: cannot find -ldevstat: No such file or directory collect2: error: ld returned 1 exit status configure:30996: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-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. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char devstat_getdevs (void); | int | main (void) | { | return devstat_getdevs (); | ; | return 0; | } configure:31012: result: no configure:31030: checking for library containing pci_lookup_name configure:31062: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lnl-route-3 -lnl-3 -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccnFSkAL.o: in function `main': ././conftest.c:218:(.text.startup+0x4): undefined reference to `pci_lookup_name' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `pci_lookup_name' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:31062: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-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. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char pci_lookup_name (void); | int | main (void) | { | return pci_lookup_name (); | ; | return 0; | } configure:31089: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lpci -lnl-route-3 -lnl-3 -lm >&5 configure:31089: $? = 0 configure:31105: result: -lpci configure:31122: checking for sensors support configure:31145: checking for sensors/sensors.h configure:31145: result: yes configure:31155: checking for library containing sensors_get_detected_chips configure:31187: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lpci -lnl-route-3 -lnl-3 -lm >&5 /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccFlLTrc.o: in function `main': ././conftest.c:219:(.text.startup+0x4): undefined reference to `sensors_get_detected_chips' /usr/lib/gcc-cross/riscv64-linux-gnu/15/../../../../riscv64-linux-gnu/bin/ld: relocation R_RISCV_CALL_PLT against `sensors_get_detected_chips' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status configure:31187: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char sensors_get_detected_chips (void); | int | main (void) | { | return sensors_get_detected_chips (); | ; | return 0; | } configure:31214: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lsensors -lpci -lnl-route-3 -lnl-3 -lm >&5 configure:31214: $? = 0 configure:31230: result: -lsensors configure:31486: $PKG_CONFIG --exists --print-errors "openssl" configure:31489: $? = 0 configure:31493: checking for OPENSSL configure:31500: $PKG_CONFIG --exists --print-errors "openssl" configure:31503: $? = 0 configure:31517: $PKG_CONFIG --exists --print-errors "openssl" configure:31520: $? = 0 configure:31578: result: yes configure:31584: OPENSSL_CFLAGS= configure:31586: OPENSSL_LIBS=-lssl -lcrypto configure:31592: checking for EVP_md5 configure:31592: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lssl -lssl -lcrypto >&5 configure:31592: $? = 0 configure:31592: result: yes configure:31813: checking for AES_cfb128_encrypt configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:237:3: warning: 'AES_cfb128_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 237 | ; | ^ In file included from conftest.c:208: /usr/include/openssl/aes.h:70:6: note: declared here 70 | void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~~~~ configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for ASN1_STRING_get0_data configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for DH_get0_key configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:239:3: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | ; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from conftest.c:219: /usr/include/openssl/dh.h:267:28: note: declared here 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for DH_get0_pqg configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:240:3: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 240 | ; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from conftest.c:220: /usr/include/openssl/dh.h:264:28: note: declared here 264 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for DH_set0_pqg configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:241:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 241 | ; | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from conftest.c:221: /usr/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for DTLS_method configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for DTLSv1_method configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:243:3: warning: 'DTLSv1_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 243 | ; | ^ In file included from conftest.c:223: /usr/include/openssl/ssl.h:2083:50: note: declared here 2083 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *DTLSv1_method(void); /* DTLSv1.0 */ | ^~~~~~~~~~~~~ configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for ERR_get_error_all configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for ERR_get_error_func configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:242:25: error: 'ERR_get_error_func' undeclared (first use in this function); did you mean 'ERR_peek_error_func'? 242 | return !ERR_get_error_func | ^~~~~~~~~~~~~~~~~~ | ERR_peek_error_func conftest.c:242:25: note: each undeclared identifier is reported only once for each function it appears in configure:31852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_ERR_GET_ERROR_ALL 1 | /* end confdefs.h. */ | | #ifdef HAVE_OPENSSL_AES_H | #include | #endif | #ifdef HAVE_OPENSSL_ERR_H | #include | #endif | #ifdef HAVE_OPENSSL_EVP_H | #include | #endif | #ifdef HAVE_OPENSSL_SSL_H | #include | #endif | #ifdef HAVE_OPENSSL_STACK_H | #include | #endif | #ifdef HAVE_OPENSSL_X509_H | #include | #endif | #ifdef HAVE_OPENSSL_X509V3_H | #include | #endif | | int | main (void) | { | | #ifndef ERR_get_error_func | return !ERR_get_error_func | #endif | | ; | return 0; | } configure:31860: result: no configure:31813: checking for EVP_MD_CTX_create configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for EVP_MD_CTX_destroy configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for EVP_MD_CTX_free configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for EVP_MD_CTX_new configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for EVP_aes_128_cfb configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for EVP_sha224 configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for EVP_sha384 configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for OPENSSL_sk_num configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for OPENSSL_sk_value configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for OpenSSL_add_all_algorithms configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for SSL_CTX_set_cookie_generate_cb configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for SSL_get1_peer_certificate configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for SSL_library_init configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for SSL_load_error_strings configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for TLS_method configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for TLSv1_method configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:260:3: warning: 'TLSv1_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 260 | ; | ^ In file included from conftest.c:240: /usr/include/openssl/ssl.h:2059:50: note: declared here 2059 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_method(void); /* TLSv1.0 */ | ^~~~~~~~~~~~ configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for X509_NAME_ENTRY_get_data configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for X509_NAME_ENTRY_get_object configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31813: checking for X509_get_signature_nid configure:31852: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31852: $? = 0 configure:31854: result: yes configure:31866: checking whether 2nd app_verify_cookie_cb() arg is const configure:31888: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -Werror -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:31888: $? = 0 configure:31890: result: yes configure:32122: checking for ASN_BOOLEAN configure:32139: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:242:13: error: 'ASN_BOOLEAN' undeclared (first use in this function); did you mean 'ASN1_BOOLEAN'? 242 | return !ASN_BOOLEAN | ^~~~~~~~~~~ | ASN1_BOOLEAN conftest.c:242:13: note: each undeclared identifier is reported only once for each function it appears in configure:32139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_ERR_GET_ERROR_ALL 1 | #define HAVE_EVP_MD_CTX_CREATE 1 | #define HAVE_EVP_MD_CTX_DESTROY 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_AES_128_CFB 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_OPENSSL_SK_NUM 1 | #define HAVE_OPENSSL_SK_VALUE 1 | #define HAVE_OPENSSL_ADD_ALL_ALGORITHMS 1 | #define HAVE_SSL_CTX_SET_COOKIE_GENERATE_CB 1 | #define HAVE_SSL_GET1_PEER_CERTIFICATE 1 | #define HAVE_SSL_LIBRARY_INIT 1 | #define HAVE_SSL_LOAD_ERROR_STRINGS 1 | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | /* end confdefs.h. */ | #include | int | main (void) | { | | #ifndef ASN_BOOLEAN | return !ASN_BOOLEAN | #endif | | ; | return 0; | } configure:32146: result: no configure:32122: checking for ASN_INTEGER configure:32139: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:242:13: error: 'ASN_INTEGER' undeclared (first use in this function); did you mean 'ASN1_INTEGER'? 242 | return !ASN_INTEGER | ^~~~~~~~~~~ | ASN1_INTEGER conftest.c:242:13: note: each undeclared identifier is reported only once for each function it appears in configure:32139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_ERR_GET_ERROR_ALL 1 | #define HAVE_EVP_MD_CTX_CREATE 1 | #define HAVE_EVP_MD_CTX_DESTROY 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_AES_128_CFB 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_OPENSSL_SK_NUM 1 | #define HAVE_OPENSSL_SK_VALUE 1 | #define HAVE_OPENSSL_ADD_ALL_ALGORITHMS 1 | #define HAVE_SSL_CTX_SET_COOKIE_GENERATE_CB 1 | #define HAVE_SSL_GET1_PEER_CERTIFICATE 1 | #define HAVE_SSL_LIBRARY_INIT 1 | #define HAVE_SSL_LOAD_ERROR_STRINGS 1 | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | /* end confdefs.h. */ | #include | int | main (void) | { | | #ifndef ASN_INTEGER | return !ASN_INTEGER | #endif | | ; | return 0; | } configure:32146: result: no configure:32122: checking for ASN_OBJECT_ID configure:32139: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:242:13: error: 'ASN_OBJECT_ID' undeclared (first use in this function); did you mean 'ASN1_OBJECT_it'? 242 | return !ASN_OBJECT_ID | ^~~~~~~~~~~~~ | ASN1_OBJECT_it conftest.c:242:13: note: each undeclared identifier is reported only once for each function it appears in configure:32139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_ERR_GET_ERROR_ALL 1 | #define HAVE_EVP_MD_CTX_CREATE 1 | #define HAVE_EVP_MD_CTX_DESTROY 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_AES_128_CFB 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_OPENSSL_SK_NUM 1 | #define HAVE_OPENSSL_SK_VALUE 1 | #define HAVE_OPENSSL_ADD_ALL_ALGORITHMS 1 | #define HAVE_SSL_CTX_SET_COOKIE_GENERATE_CB 1 | #define HAVE_SSL_GET1_PEER_CERTIFICATE 1 | #define HAVE_SSL_LIBRARY_INIT 1 | #define HAVE_SSL_LOAD_ERROR_STRINGS 1 | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | /* end confdefs.h. */ | #include | int | main (void) | { | | #ifndef ASN_OBJECT_ID | return !ASN_OBJECT_ID | #endif | | ; | return 0; | } configure:32146: result: no configure:32122: checking for ASN_SEQUENCE configure:32139: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:242:13: error: 'ASN_SEQUENCE' undeclared (first use in this function); did you mean 'B_ASN1_SEQUENCE'? 242 | return !ASN_SEQUENCE | ^~~~~~~~~~~~ | B_ASN1_SEQUENCE conftest.c:242:13: note: each undeclared identifier is reported only once for each function it appears in configure:32139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_ERR_GET_ERROR_ALL 1 | #define HAVE_EVP_MD_CTX_CREATE 1 | #define HAVE_EVP_MD_CTX_DESTROY 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_AES_128_CFB 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_OPENSSL_SK_NUM 1 | #define HAVE_OPENSSL_SK_VALUE 1 | #define HAVE_OPENSSL_ADD_ALL_ALGORITHMS 1 | #define HAVE_SSL_CTX_SET_COOKIE_GENERATE_CB 1 | #define HAVE_SSL_GET1_PEER_CERTIFICATE 1 | #define HAVE_SSL_LIBRARY_INIT 1 | #define HAVE_SSL_LOAD_ERROR_STRINGS 1 | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | /* end confdefs.h. */ | #include | int | main (void) | { | | #ifndef ASN_SEQUENCE | return !ASN_SEQUENCE | #endif | | ; | return 0; | } configure:32146: result: no configure:32122: checking for ASN_SET configure:32139: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c: In function 'main': conftest.c:242:13: error: 'ASN_SET' undeclared (first use in this function); did you mean 'ASN1_SCTX'? 242 | return !ASN_SET | ^~~~~~~ | ASN1_SCTX conftest.c:242:13: note: each undeclared identifier is reported only once for each function it appears in configure:32139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_ERR_GET_ERROR_ALL 1 | #define HAVE_EVP_MD_CTX_CREATE 1 | #define HAVE_EVP_MD_CTX_DESTROY 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_AES_128_CFB 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_OPENSSL_SK_NUM 1 | #define HAVE_OPENSSL_SK_VALUE 1 | #define HAVE_OPENSSL_ADD_ALL_ALGORITHMS 1 | #define HAVE_SSL_CTX_SET_COOKIE_GENERATE_CB 1 | #define HAVE_SSL_GET1_PEER_CERTIFICATE 1 | #define HAVE_SSL_LIBRARY_INIT 1 | #define HAVE_SSL_LOAD_ERROR_STRINGS 1 | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | /* end confdefs.h. */ | #include | int | main (void) | { | | #ifndef ASN_SET | return !ASN_SET | #endif | | ; | return 0; | } configure:32146: result: no configure:32240: checking for tcpd.h configure:32240: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:32240: $? = 0 configure:32240: result: yes configure:32251: checking for TCP wrappers library -lwrap configure:32268: riscv64-linux-gnu-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lwrap >&5 configure:32268: $? = 0 configure:32270: result: yes configure:32390: checking for mysql_config configure:32413: found /usr/bin/mysql_config configure:32426: result: /usr/bin/mysql_config configure:32445: checking for mysql.h configure:32445: riscv64-linux-gnu-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 conftest.c:266:10: fatal error: mysql.h: No such file or directory 266 | #include | ^~~~~~~~~ compilation terminated. configure:32445: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9.5.2" | #define PACKAGE_STRING "Net-SNMP 5.9.5.2" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_USE_MYSQL 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 3 | #define NETSNMP_SYS_CONTACT "root" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" | #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define SNMPCONFPATH "/etc/snmp" | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FSTAB_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SPAWN_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_NETLINK_CACHE_H 1 | #define HAVE_NETLINK_MSG_H 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_NETLINK_SOCKET_H 1 | #define HAVE_NETLINK_ROUTE_ADDR_H 1 | #define HAVE_NETLINK_ROUTE_LINK_H 1 | #define HAVE_LIBNL3 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_ERR_GET_ERROR_ALL 1 | #define HAVE_EVP_MD_CTX_CREATE 1 | #define HAVE_EVP_MD_CTX_DESTROY 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_AES_128_CFB 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_OPENSSL_SK_NUM 1 | #define HAVE_OPENSSL_SK_VALUE 1 | #define HAVE_OPENSSL_ADD_ALL_ALGORITHMS 1 | #define HAVE_SSL_CTX_SET_COOKIE_GENERATE_CB 1 | #define HAVE_SSL_GET1_PEER_CERTIFICATE 1 | #define HAVE_SSL_LIBRARY_INIT 1 | #define HAVE_SSL_LOAD_ERROR_STRINGS 1 | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define NETSNMP_USE_LIBWRAP 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:32445: result: no configure:32450: error: Could not find mysql.h and was specifically asked to use MySQL support ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_NETSNMP_MACHINE_INCLUDE_FILE=net-snmp/machine/generic.h ac_cv_NETSNMP_SYSTEM_INCLUDE_FILE=net-snmp/system/linux.h ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_c_int16_t=yes ac_cv_c_int32_t=yes ac_cv_c_int64_t=yes ac_cv_c_int8_t=yes ac_cv_c_uint16_t=yes ac_cv_c_uint32_t=yes ac_cv_c_uint64_t=yes ac_cv_c_uint8_t=yes ac_cv_c_undeclared_builtin_options='none needed' ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-z,relro -Wl,-z,now' 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_LIBNLROUTE3_CFLAGS_set= ac_cv_env_LIBNLROUTE3_CFLAGS_value= ac_cv_env_LIBNLROUTE3_LIBS_set= ac_cv_env_LIBNLROUTE3_LIBS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_OPENSSL_CFLAGS_set= ac_cv_env_OPENSSL_CFLAGS_value= ac_cv_env_OPENSSL_LIBS_set= ac_cv_env_OPENSSL_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=riscv64-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_AES_cfb128_encrypt=yes ac_cv_func_ASN1_STRING_get0_data=yes ac_cv_func_DH_get0_key=yes ac_cv_func_DH_get0_pqg=yes ac_cv_func_DH_set0_pqg=yes ac_cv_func_DTLS_method=yes ac_cv_func_DTLSv1_method=yes ac_cv_func_ERR_get_error_all=yes ac_cv_func_EVP_MD_CTX_create=yes ac_cv_func_EVP_MD_CTX_destroy=yes ac_cv_func_EVP_MD_CTX_free=yes ac_cv_func_EVP_MD_CTX_new=yes ac_cv_func_EVP_aes_128_cfb=yes ac_cv_func_EVP_md5=yes ac_cv_func_EVP_sha224=yes ac_cv_func_EVP_sha384=yes ac_cv_func_OPENSSL_sk_num=yes ac_cv_func_OPENSSL_sk_value=yes ac_cv_func_OpenSSL_add_all_algorithms=yes ac_cv_func_SSL_CTX_set_cookie_generate_cb=yes ac_cv_func_SSL_get1_peer_certificate=yes ac_cv_func_SSL_library_init=yes ac_cv_func_SSL_load_error_strings=yes ac_cv_func_TLS_method=yes ac_cv_func_TLSv1_method=yes ac_cv_func_X509_NAME_ENTRY_get_data=yes ac_cv_func_X509_NAME_ENTRY_get_object=yes ac_cv_func_X509_get_signature_nid=yes ac_cv_func_dlopen=yes ac_cv_func_getfsstat=no ac_cv_func_gethostbyaddr=yes ac_cv_func_gethostbyname=yes ac_cv_func_getmntent=yes ac_cv_func_getvfsstat=no ac_cv_func_kinfo_get_cpus=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_have_decl_sensors_get_all_subfeatures=yes ac_cv_have_warned=no 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=yes 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_minix_config_h=no ac_cv_header_mntent_h=yes ac_cv_header_mtab_h=no ac_cv_header_mysql_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_netgroup_h=no ac_cv_header_netinet6_in6_pcb_h=no ac_cv_header_netinet6_in6_var_h=no ac_cv_header_netinet6_ip6_var_h=no ac_cv_header_netinet6_nd6_h=no ac_cv_header_netinet6_tcp6_fsm_h=no ac_cv_header_netinet6_tcp6_h=no ac_cv_header_netinet6_tcp6_timer_h=no ac_cv_header_netinet6_tcp6_var_h=no ac_cv_header_netinet_icmp6_h=yes ac_cv_header_netinet_icmp_var_h=no ac_cv_header_netinet_if_ether_h=yes ac_cv_header_netinet_in_h=yes ac_cv_header_netinet_in_pcb_h=no ac_cv_header_netinet_in_systm_h=yes ac_cv_header_netinet_in_var_h=no ac_cv_header_netinet_ip6_h=yes ac_cv_header_netinet_ip_h=yes ac_cv_header_netinet_ip_icmp_h=yes ac_cv_header_netinet_ip_var_h=no ac_cv_header_netinet_tcp_fsm_h=no ac_cv_header_netinet_tcp_h=yes ac_cv_header_netinet_tcp_timer_h=no ac_cv_header_netinet_tcp_var_h=no ac_cv_header_netinet_tcpip_h=no ac_cv_header_netinet_udp_h=yes ac_cv_header_netinet_udp_var_h=no ac_cv_header_netipx_ipx_h=yes ac_cv_header_netlink_cache_h=yes ac_cv_header_netlink_msg_h=yes ac_cv_header_netlink_netlink_h=yes ac_cv_header_netlink_route_addr_h=yes ac_cv_header_netlink_route_link_h=yes ac_cv_header_netlink_socket_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_err_h=yes ac_cv_header_openssl_evp_h=yes ac_cv_header_openssl_hmac_h=yes ac_cv_header_openssl_ssl_h=yes ac_cv_header_osreldate_h=no ac_cv_header_pci_pci_h=yes ac_cv_header_pcre_h=no 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_sensors_sensors_h=yes ac_cv_header_sgtty_h=yes ac_cv_header_spawn_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_callout_h=no ac_cv_header_sys_cdefs_h=yes ac_cv_header_sys_conf_h=no ac_cv_header_sys_diskio_h=no ac_cv_header_sys_disklabel_h=no ac_cv_header_sys_dkio_h=no ac_cv_header_sys_dkstat_h=no ac_cv_header_sys_dmap_h=no ac_cv_header_sys_file_h=yes ac_cv_header_sys_filio_h=no ac_cv_header_sys_fixpoint_h=no ac_cv_header_sys_fs_h=no ac_cv_header_sys_hashing_h=no ac_cv_header_sys_ioctl_h=yes ac_cv_header_sys_loadavg_h=no ac_cv_header_sys_mbuf_h=no ac_cv_header_sys_mntent_h=no ac_cv_header_sys_mnttab_h=no ac_cv_header_sys_mount_h=yes ac_cv_header_sys_osd_h=no ac_cv_header_sys_param_h=yes ac_cv_header_sys_poll_h=yes ac_cv_header_sys_pool_h=no ac_cv_header_sys_proc_h=no ac_cv_header_sys_protosw_h=no ac_cv_header_sys_pstat_h=no ac_cv_header_sys_queue_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_sema_h=no ac_cv_header_sys_socket_h=yes ac_cv_header_sys_socketvar_h=yes ac_cv_header_sys_sockio_h=no ac_cv_header_sys_stat_h=yes ac_cv_header_sys_statfs_h=yes ac_cv_header_sys_statvfs_h=yes ac_cv_header_sys_stream_h=no ac_cv_header_sys_swap_h=yes ac_cv_header_sys_sysget_h=no ac_cv_header_sys_syslog_h=yes ac_cv_header_sys_sysmacros_h=yes ac_cv_header_sys_sysmp_h=no ac_cv_header_sys_systemcfg_h=no ac_cv_header_sys_systeminfo_h=no ac_cv_header_sys_tcpipstats_h=no ac_cv_header_sys_time_h=yes ac_cv_header_sys_timeb_h=yes ac_cv_header_sys_timeout_h=no ac_cv_header_sys_times_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_uio_h=yes ac_cv_header_sys_un_h=yes ac_cv_header_sys_user_h=yes ac_cv_header_sys_utsname_h=yes ac_cv_header_sys_vfs_h=yes ac_cv_header_sys_vm_h=no ac_cv_header_sys_vmmac_h=no ac_cv_header_sys_vmmeter_h=no ac_cv_header_sys_vmparam_h=no ac_cv_header_sys_vmsystm_h=no ac_cv_header_sys_vnode_h=no ac_cv_header_sys_wait_h=yes ac_cv_header_syslog_h=yes ac_cv_header_tcpd_h=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_wchar_h=yes ac_cv_header_windows_h=no ac_cv_header_xti_h=no ac_cv_host=riscv64-unknown-linux-gnu ac_cv_lib_kstat_kstat_lookup=no ac_cv_lib_socket_in6addr_any=no ac_cv_member_struct_in_ifaddr_ia_subnetmask=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_sockaddr_in6_sin6_addr=yes ac_cv_objext=o ac_cv_path_AUTOCONF=/usr/bin/autoconf ac_cv_path_AUTOHEADER=/usr/bin/autoheader ac_cv_path_CCPATH=/usr/bin/riscv64-linux-gnu-gcc ac_cv_path_DPKG_QUERY_PATH=/usr/bin/dpkg-query ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_EGREP_TRADITIONAL='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_MYSQLCONFIG=/usr/bin/mysql_config ac_cv_path_PERLPROG=/usr/bin/perl ac_cv_path_PKG_CONFIG=/usr/bin/riscv64-linux-gnu-pkg-config ac_cv_path_PSPROG=/bin/ps ac_cv_path_SED=/usr/bin/sed ac_cv_path_UNAMEPROG=/bin/uname ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/usr/bin/dd ac_cv_prog_AR=riscv64-linux-gnu-ar ac_cv_prog_AWK=mawk ac_cv_prog_CC=riscv64-linux-gnu-gcc ac_cv_prog_CPP='riscv64-linux-gnu-gcc -E' ac_cv_prog_FILE=file ac_cv_prog_FILECMD=file ac_cv_prog_FIND=find ac_cv_prog_OBJDUMP=riscv64-linux-gnu-objdump ac_cv_prog_RANLIB=riscv64-linux-gnu-ranlib ac_cv_prog_STRIP=riscv64-linux-gnu-strip ac_cv_prog_WHOAMI=whoami ac_cv_prog_cc_c11= ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_make_make_set=yes ac_cv_saccaq=const ac_cv_safe_to_define___extensions__=yes ac_cv_search_getfsstat=no ac_cv_search_gethostbyaddr='none required' ac_cv_search_gethostbyname='none required' ac_cv_search_getmntent='none required' ac_cv_search_kinfo_get_cpus=no ac_cv_search_opendir='none required' ac_cv_search_socket='none required' ac_cv_should_define__xopen_source=no ac_cv_sizeof_int=4 ac_cv_sizeof_intmax_t=8 ac_cv_sizeof_long=8 ac_cv_sizeof_long_long=8 ac_cv_sizeof_short=2 ac_cv_target=riscv64-unknown-linux-gnu ac_cv_type_Counter64=no 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_uintmax_t=yes ac_cv_type_uintptr_t=yes ac_cv_type_unsigned_long_long_int=yes ac_cv_user_prompt_COPY_PERSISTENT_FILES=no ac_cv_user_prompt_NETSNMP_DEFAULT_SNMP_VERSION=3 ac_cv_user_prompt_NETSNMP_LOGFILE=none ac_cv_user_prompt_NETSNMP_PERSISTENT_DIRECTORY=/var/lib/snmp ac_cv_user_prompt_NETSNMP_SYS_CONTACT=root ac_cv_user_prompt_NETSNMP_SYS_LOC=Unknown lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/riscv64-linux-gnu/bin/ld lt_cv_path_NM='/usr/bin/riscv64-linux-gnu-nm -B' lt_cv_path_manifest_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=yes lt_cv_sys_global_symbol_pipe='/usr/bin/sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | /usr/bin/sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='/usr/bin/sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1' netsnmp_cv_func_clock_gettime_LNETSNMPLIBS='none required' netsnmp_cv_func_devstat_getdevs_LMIBLIBS=no netsnmp_cv_func_dlopen_LMIBLIBS='none required' netsnmp_cv_func_exp_LMIBLIBS=-lm netsnmp_cv_func_getdevs_LMIBLIBS=no netsnmp_cv_func_kvm_getfile2_LMIBLIBS=no netsnmp_cv_func_kvm_getfiles_LMIBLIBS=no netsnmp_cv_func_kvm_getproc2_LMIBLIBS=no netsnmp_cv_func_kvm_getprocs_LMIBLIBS=no netsnmp_cv_func_kvm_getswapinfo_LMIBLIBS=no netsnmp_cv_func_kvm_openfiles_LAGENTLIBS=no netsnmp_cv_func_kvm_read_LAGENTLIBS=no netsnmp_cv_func_nl_connect_LMIBLIBS=-lnl-3 netsnmp_cv_func_pci_lookup_name_LMIBLIBS=-lpci netsnmp_cv_func_rtnl_link_alloc_cache_LMIBLIBS=-lnl-route-3 netsnmp_cv_func_sensors_get_detected_chips_LMIBLIBS=-lsensors pkg_cv_LIBNL3_CFLAGS='-I/usr/include/libnl3 ' pkg_cv_LIBNL3_LIBS='-lnl-3 ' pkg_cv_LIBNLROUTE3_CFLAGS='-I/usr/include/libnl3 ' pkg_cv_LIBNLROUTE3_LIBS='-lnl-route-3 -lnl-3 ' pkg_cv_OPENSSL_CFLAGS= pkg_cv_OPENSSL_LIBS='-lssl -lcrypto ' ## ----------------- ## ## Output variables. ## ## ----------------- ## AGENTLIBS='' AGENT_INCLUDES='SRC_AGENT_INCLUDES' ALLOCA='' AR='riscv64-linux-gnu-ar' AS='as' AUTOCONF='/usr/bin/autoconf' AUTOHEADER='/usr/bin/autoheader' AWK='mawk' CC='riscv64-linux-gnu-gcc' CCPATH='/usr/bin/riscv64-linux-gnu-gcc' CFLAGS='-DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Werror=declaration-after-statement -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux' CONFIGURE_OPTIONS='" '\''--build=x86_64-linux-gnu'\'' '\''--includedir=${prefix}/include'\'' '\''--mandir=${prefix}/share/man'\'' '\''--infodir=${prefix}/share/info'\'' '\''--localstatedir=/var'\'' '\''--disable-option-checking'\'' '\''--disable-silent-rules'\'' '\''--libdir=${prefix}/lib/riscv64-linux-gnu'\'' '\''--runstatedir=/run'\'' '\''--disable-maintainer-mode'\'' '\''--disable-dependency-tracking'\'' '\''--host=riscv64-linux-gnu'\'' '\''--prefix=/usr'\'' '\''--sysconfdir=/etc'\'' '\''--mandir=/usr/share/man'\'' '\''--with-persistent-directory=/var/lib/snmp'\'' '\''--enable-ucd-snmp-compatibility'\'' '\''--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE'\'' '\''--with-ldflags=-Wl,-z,relro -Wl,-z,now'\'' '\''--with-perl-modules=INSTALLDIRS=vendor'\'' '\''--enable-as-needed'\'' '\''--with-logfile=none'\'' '\''--without-rpm'\'' '\''--with-libwrap'\'' '\''--with-openssl'\'' '\''--without-dmalloc'\'' '\''--without-efence'\'' '\''--without-rsaref'\'' '\''--with-sys-contact=root'\'' '\''--with-sys-location=Unknown'\'' '\''--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host'\'' '\''--with-out-mib-modules='\'' '\''--with-transports=TLSTCP DTLSUDP'\'' '\''--with-security-modules=tsm'\'' '\''--enable-mfd-rewrites'\'' '\''--with-mnttab=/etc/mtab'\'' '\''--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf'\'' '\''--with-mysql'\'' '\''--with-systemd'\'' '\''--enable-blumenthal-aes'\'' '\''UNAMEPROG=/bin/uname'\'' '\''PSPROG=/bin/ps'\'' '\''--with-defaults'\'' '\''build_alias=x86_64-linux-gnu'\'' '\''host_alias=riscv64-linux-gnu'\'' '\''CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security'\'' '\''LDFLAGS=-Wl,-z,relro -Wl,-z,now'\'' '\''CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'\''"' COPY_PERSISTENT_FILES='no' CPP='riscv64-linux-gnu-gcc -E' CPPFLAGS='-I/usr/include/libnl3 -I/usr/include/libnl3 -Wdate-time -D_FORTIFY_SOURCE=2 ' DEFS='' DEVFLAGS='' DLLIBS='' DLLTOOL='false' DPKG_QUERY_PATH='/usr/bin/dpkg-query' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EMBEDPERLINSTALL='' EMBEDPERLUNINSTALL='' ENV_SEPARATOR=':' EXEEXT='' EXTERNAL_MIBGROUP_INCLUDES=' -I/usr/include/libnl3 -I/usr/include/libnl3 ' EXTRACPPFLAGS='-x c' FEATUREHEADERS='' FEATURETARGS='' FEATURE_ADD_FLAGS='' FEATURE_REMOVE_FLAGS='' FGREP='/usr/bin/grep -F' FILE='file' FILECMD='file' FIND='find' FTMAINSUBS='apps agent ' GNU_vpath='#vpath' GREP='/usr/bin/grep' HAVE_LIBCURSES='' HELPER_INCLUDES='SRC_HELPER_INCLUDES' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PREFIX='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LAGENTLIBS=' -lwrap' LD='/usr/riscv64-linux-gnu/bin/ld' LDFLAGS='-Wl,-z,relro -Wl,-z,now' LD_NO_UNDEFINED='-Wl,-no-undefined' LIBCFLAGS='' LIBCRYPTO=' -lssl -lssl -lssl -lssl -lcrypto ' LIBCURSES='' LIBNL3_CFLAGS='-I/usr/include/libnl3 ' LIBNL3_LIBS='-lnl-3 ' LIBNLROUTE3_CFLAGS='-I/usr/include/libnl3 ' LIBNLROUTE3_LIBS='-lnl-route-3 -lnl-3 ' LIBOBJS='' LIBS=' ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIBTOOLFLAGS='' LIBTOOL_DEPS='.//ltmain.sh' LIBWRAP='' LINKCC='riscv64-linux-gnu-gcc' LIPO='' LMIBLIBS='-lsensors -lpci -lnl-route-3 -lnl-3 -lm ' LNETSNMPLIBS=' ' LN_S='ln -s' LPSTAT_PATH='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAINSUBS=' agent apps man local mibs' MANIFEST_TOOL=':' MIBGROUP_INCLUDES='SRC_MIBGROUP_INCLUDES' MYSQLCONFIG='/usr/bin/mysql_config' 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:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' NETSNMP_DEFAULT_MIBS=':SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB' NETSNMP_HAVE_AGENTX_LIBS_FALSE='#' NETSNMP_HAVE_AGENTX_LIBS_TRUE='' NM='/usr/bin/riscv64-linux-gnu-nm -B' NMEDIT='' NON_GNU_VPATH='VPATH =' OBJDUMP='riscv64-linux-gnu-objdump' OBJEXT='o' OPENSSL_CFLAGS='' OPENSSL_LIBS='-lssl -lcrypto ' OTHERAGENTLIBLFTS='' OTHERAGENTLIBLOBJS='' OTHERAGENTLIBOBJS='' OTOOL64='' OTOOL='' PACKAGE_BUGREPORT='net-snmp-coders@lists.sourceforge.net' PACKAGE_NAME='Net-SNMP' PACKAGE_STRING='Net-SNMP 5.9.5.2' PACKAGE_TARNAME='net-snmp' PACKAGE_URL='' PACKAGE_VERSION='5.9.5.2' PARTIALTARGETFLAGS='-Ulinux -Dlinux=linux' PATH_SEPARATOR=':' PERLARGS='INSTALLDIRS=vendor' PERLFEATURES='' PERLINSTALLTARGS='' PERLLDOPTS_FOR_APPS='' PERLLDOPTS_FOR_LIBS='' PERLPROG='/usr/bin/perl' PERLTARGS='' PERLUNINSTALLTARGS='' PERL_SYSTEM_INVOKES_POSIX_SHELL='yes' PERSISTENT_DIRECTORY='/var/lib/snmp' PKG_CONFIG='/usr/bin/riscv64-linux-gnu-pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PSCMD='' PSPROG='/bin/ps' PYTHONARGS='' PYTHONCLEANTARGS='' PYTHONFEATURES='' PYTHONINSTALLTARGS='' PYTHONPROG='' PYTHONTARGS='' PYTHONUNINSTALLTARGS='' RANLIB='riscv64-linux-gnu-ranlib' RC='' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/bash' SNMPCONFPATH='/etc/snmp' SNMPD='snmpd$(EXEEXT)' SNMPLIBPATH='/usr/lib/riscv64-linux-gnu/snmp' SNMPLIB_INCLUDES='SRC_SNMPLIB_INCLUDES' SNMPSHAREPATH='/usr/share/snmp' STRIP='riscv64-linux-gnu-strip' TOP_INCLUDES='SRC_TOP_INCLUDES' TRAPLIBS='$(TRAPDWITHAGENT)' UCDPERSISTENT_DIRECTORY='/var/ucd-snmp' UNAMEPROG='/bin/uname' USETRAPLIBS='$(USEAGENTLIBS)' VAL_LIBS='' VERSION='5.9.5.2' WHOAMI='whoami' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' ac_cv_NETSNMP_SYSTEM_INCLUDE_FILE='net-snmp/system/linux.h' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' crypto_files_c='' crypto_files_lo='' crypto_files_o='' datadir='${datarootdir}' datarootdir='${prefix}/share' default_mibs_install=' UCD-DISKIO-MIB.txt UCD-DLMOD-MIB.txt LM-SENSORS-MIB.txt UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt NET-SNMP-AGENT-MIB.txt NET-SNMP-PASS-MIB.txt NET-SNMP-EXTEND-MIB.txt NET-SNMP-VACM-MIB.txt' dllcleans='' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='riscv64-unknown-linux-gnu' host_alias='riscv64-linux-gnu' host_cpu='riscv64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${prefix}/share/info' installucdheaders='installucdheaders' installucdlibs='installucdlibs' krb5_config='' libdir='${prefix}/lib/riscv64-linux-gnu' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='/usr/share/man' oldincludedir='/usr/include' other_agentobjs='' other_ftagentobjs='' other_ftobjs_list=' sd-daemon.ft' other_lagentobjs='' other_lobjs_list=' sd-daemon.lo' other_objs_list=' sd-daemon.o' other_src_list=' sd-daemon.c' other_trapd_objects='' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='/run' sbindir='${exec_prefix}/sbin' security_ftobj_list=' snmptsm.ft snmpusm.ft' security_hdr_list=' snmptsm.h snmpusm.h' security_lobj_list=' snmptsm.lo snmpusm.lo' security_obj_list=' snmptsm.o snmpusm.o' security_src_list=' snmptsm.c snmptsm.c snmpusm.c snmpusm.c' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='riscv64-unknown-linux-gnu' target_alias='' target_cpu='riscv64' target_os='linux-gnu' target_vendor='unknown' transport_ftobj_list=' transports/snmpTLSBaseDomain.ft transports/snmpIPv6BaseDomain.ft transports/snmpIPBaseDomain.ft transports/snmpUDPBaseDomain.ft transports/snmpUDPIPv4BaseDomain.ft transports/snmpTCPBaseDomain.ft transports/snmpSocketBaseDomain.ft transports/snmpIPv4BaseDomain.ft transports/snmpDTLSUDPDomain.ft transports/snmpTLSTCPDomain.ft transports/snmpUDPIPv6Domain.ft transports/snmpTCPIPv6Domain.ft transports/snmpUDPDomain.ft transports/snmpTCPDomain.ft transports/snmpAliasDomain.ft transports/snmpUnixDomain.ft transports/snmpCallbackDomain.ft ' transport_hdr_list='snmpTLSBaseDomain.h snmpIPv6BaseDomain.h snmpIPBaseDomain.h snmpUDPBaseDomain.h snmpUDPIPv4BaseDomain.h snmpTCPBaseDomain.h snmpSocketBaseDomain.h snmpIPv4BaseDomain.h snmpDTLSUDPDomain.h snmpTLSTCPDomain.h snmpUDPIPv6Domain.h snmpTCPIPv6Domain.h snmpUDPDomain.h snmpTCPDomain.h snmpAliasDomain.h snmpUnixDomain.h snmpCallbackDomain.h ' transport_lobj_list=' transports/snmpTLSBaseDomain.lo transports/snmpIPv6BaseDomain.lo transports/snmpIPBaseDomain.lo transports/snmpUDPBaseDomain.lo transports/snmpUDPIPv4BaseDomain.lo transports/snmpTCPBaseDomain.lo transports/snmpSocketBaseDomain.lo transports/snmpIPv4BaseDomain.lo transports/snmpDTLSUDPDomain.lo transports/snmpTLSTCPDomain.lo transports/snmpUDPIPv6Domain.lo transports/snmpTCPIPv6Domain.lo transports/snmpUDPDomain.lo transports/snmpTCPDomain.lo transports/snmpAliasDomain.lo transports/snmpUnixDomain.lo transports/snmpCallbackDomain.lo ' transport_obj_list=' transports/snmpTLSBaseDomain.o transports/snmpIPv6BaseDomain.o transports/snmpIPBaseDomain.o transports/snmpUDPBaseDomain.o transports/snmpUDPIPv4BaseDomain.o transports/snmpTCPBaseDomain.o transports/snmpSocketBaseDomain.o transports/snmpIPv4BaseDomain.o transports/snmpDTLSUDPDomain.o transports/snmpTLSTCPDomain.o transports/snmpUDPIPv6Domain.o transports/snmpTCPIPv6Domain.o transports/snmpUDPDomain.o transports/snmpTCPDomain.o transports/snmpAliasDomain.o transports/snmpUnixDomain.o transports/snmpCallbackDomain.o ' transport_src_list='transports/snmpTLSBaseDomain.c transports/snmpIPv6BaseDomain.c transports/snmpIPBaseDomain.c transports/snmpUDPBaseDomain.c transports/snmpUDPIPv4BaseDomain.c transports/snmpTCPBaseDomain.c transports/snmpSocketBaseDomain.c transports/snmpIPv4BaseDomain.c transports/snmpDTLSUDPDomain.c transports/snmpTLSTCPDomain.c transports/snmpUDPIPv6Domain.c transports/snmpTCPIPv6Domain.c transports/snmpUDPDomain.c transports/snmpTCPDomain.c transports/snmpAliasDomain.c transports/snmpUnixDomain.c transports/snmpCallbackDomain.c ' ## ------------------- ## ## File substitutions. ## ## ------------------- ## MODULE_LIST='mk/MODULE_LIST.mk' agent_module_list_c='mk/agent_module_list_c.mk' agent_module_list_deps='mk/agent_module_list_deps.mk' agent_module_list_ft='mk/agent_module_list_ft.mk' agent_module_list_lo='mk/agent_module_list_lo.mk' agent_module_list_o='mk/agent_module_list_o.mk' agentgroup_list_ft='mk/agentgroup_list_ft.mk' agentgroup_list_lo='mk/agentgroup_list_lo.mk' agentgroup_list_o='mk/agentgroup_list_o.mk' mib_module_list_c='mk/mib_module_list_c.mk' mib_module_list_deps='mk/mib_module_list_deps.mk' mib_module_list_ft='mk/mib_module_list_ft.mk' mib_module_list_lo='mk/mib_module_list_lo.mk' mib_module_list_o='mk/mib_module_list_o.mk' mibgroup_list_ft='mk/mibgroup_list_ft.mk' mibgroup_list_lo='mk/mibgroup_list_lo.mk' mibgroup_list_o='mk/mibgroup_list_o.mk' module_list_c='mk/module_list_c.mk' module_list_deps='mk/module_list_deps.mk' module_list_ft='mk/module_list_ft.mk' module_list_lo='mk/module_list_lo.mk' module_list_o='mk/module_list_o.mk' module_rules='mk/module_rules.mk' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "Net-SNMP" #define PACKAGE_TARNAME "net-snmp" #define PACKAGE_VERSION "5.9.5.2" #define PACKAGE_STRING "Net-SNMP 5.9.5.2" #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" #define PACKAGE_URL "" #define NETSNMP_CONFIGURE_OPTIONS " '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/riscv64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--host=riscv64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-persistent-directory=/var/lib/snmp' '--enable-ucd-snmp-compatibility' '--with-cflags=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-perl-modules=INSTALLDIRS=vendor' '--enable-as-needed' '--with-logfile=none' '--without-rpm' '--with-libwrap' '--with-openssl' '--without-dmalloc' '--without-efence' '--without-rsaref' '--with-sys-contact=root' '--with-sys-location=Unknown' '--with-mib-modules=smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host' '--with-out-mib-modules=' '--with-transports=TLSTCP DTLSUDP' '--with-security-modules=tsm' '--enable-mfd-rewrites' '--with-mnttab=/etc/mtab' '--with-mibdirs=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf' '--with-mysql' '--with-systemd' '--enable-blumenthal-aes' 'UNAMEPROG=/bin/uname' 'PSPROG=/bin/ps' '--with-defaults' 'build_alias=x86_64-linux-gnu' 'host_alias=riscv64-linux-gnu' 'CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'" #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_WCHAR_H 1 #define HAVE_SYS_TIME_H 1 #define STDC_HEADERS 1 #define _ALL_SOURCE 1 #define _DARWIN_C_SOURCE 1 #define _GNU_SOURCE 1 #define _HPUX_ALT_XOPEN_SOCKET_API 1 #define _NETBSD_SOURCE 1 #define _OPENBSD_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 #define __STDC_WANT_IEC_60559_EXT__ 1 #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 #define __STDC_WANT_LIB_EXT2__ 1 #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 #define _TANDEM_SOURCE 1 #define __EXTENSIONS__ 1 #define HAVE_OPENSSL_AES_H 1 #define HAVE_OPENSSL_EVP_H 1 #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf" #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 #define NETSNMP_DRAFT_BLUMENTHAL_AES_04 1 #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 #define NETSNMP_ENABLE_IPV6 1 #define NETSNMP_PERSISTENT_MASK 077 #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" #define NETSNMP_NO_DUMMY_VALUES 1 #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" #define NETSNMP_ENABLE_MFD_REWRITES 1 #define NETSNMP_USE_MYSQL 1 #define NETSNMP_DEFAULT_SNMP_VERSION 3 #define NETSNMP_SYS_CONTACT "root" #define NETSNMP_SYS_LOC "Unknown" #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" #define UNAMEPROG "/bin/uname" #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" #define HAVE_DPKG_QUERY 1 #define SNMPLIBPATH "/usr/lib/riscv64-linux-gnu/snmp" #define SNMPDLMODPATH "/usr/lib/riscv64-linux-gnu/snmp/dlmod" #define SNMPSHAREPATH "/usr/share/snmp" #define SNMPCONFPATH "/etc/snmp" #define HAVE_DIRENT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_GETOPT_H 1 #define HAVE_PTHREAD_H 1 #define HAVE_REGEX_H 1 #define HAVE_STRING_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TIMEB_H 1 #define HAVE_FCNTL_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LOCALE_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TIMES_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_NETIPX_IPX_H 1 #define HAVE_DLFCN_H 1 #define HAVE_ERR_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FSTAB_H 1 #define HAVE_GRP_H 1 #define HAVE_LIMITS_H 1 #define HAVE_MNTENT_H 1 #define HAVE_PWD_H 1 #define HAVE_SPAWN_H 1 #define HAVE_UTMPX_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_ASM_TYPES_H 1 #define HAVE_LINUX_HDREG_H 1 #define HAVE_FCNTL_H 1 #define HAVE_GRP_H 1 #define HAVE_PWD_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SEARCH_H 1 #define HAVE_SGTTY_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_PCI_PCI_H 1 #define HAVE_OPENSSL_AES_H 1 #define HAVE_OPENSSL_DH_H 1 #define HAVE_OPENSSL_DES_H 1 #define HAVE_OPENSSL_ERR_H 1 #define HAVE_OPENSSL_EVP_H 1 #define HAVE_OPENSSL_HMAC_H 1 #define HAVE_OPENSSL_SSL_H 1 #define HAVE_SYS_SWAP_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_SYS_QUEUE_H 1 #define HAVE_SYS_USER_H 1 #define HAVE_LINUX_NETLINK_H 1 #define HAVE_LINUX_RTNETLINK_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_SOCKETVAR_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NET_IF_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_NET_IF_ARP_H 1 #define HAVE_NETINET_IF_ETHER_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_IP_ICMP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_NETINET_UDP_H 1 #define HAVE_NET_ROUTE_H 1 #define HAVE_NETINET_ICMP6_H 1 #define HAVE_NETINET_IP6_H 1 #define HAVE_LINUX_ETHTOOL_H 1 #define HAVE_SENSORS_SENSORS_H 1 #define HAVE_STRUCT_RTENTRY_RT_DST 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 8 #define SIZEOF_LONG_LONG 8 #define SIZEOF_INTMAX_T 8 #define HAVE_UNSIGNED_LONG_LONG_INT 1 #define HAVE_LONG_LONG_INT 1 #define HAVE_INTMAX_T 1 #define HAVE_UINTMAX_T 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_OFF64_T 1 #define HAVE_NFDS_T 1 #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 #define NETSNMP_SECMOD_TSM 1 #define NETSNMP_SECMOD_USM 1 #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 #define NETSNMP_USE_SENSORS_V3 1 #define HAVE_GETMNTENT 1 #define HAVE_DLOPEN 1 #define HAVE_NETLINK_CACHE_H 1 #define HAVE_NETLINK_MSG_H 1 #define HAVE_NETLINK_NETLINK_H 1 #define HAVE_NETLINK_SOCKET_H 1 #define HAVE_NETLINK_ROUTE_ADDR_H 1 #define HAVE_NETLINK_ROUTE_LINK_H 1 #define HAVE_LIBNL3 1 #define ENV_SEPARATOR ":" #define ENV_SEPARATOR_CHAR ':' #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:HOST-RESOURCES-TYPES:MTA-MIB:NETWORK-SERVICES-MIB:UCD-DISKIO-MIB:UCD-DLMOD-MIB:LM-SENSORS-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB" #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETHOSTBYADDR 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_PCI_LOOKUP_NAME 1 #define HAVE_LIBCRYPTO 1 #define HAVE_AES_CFB128_ENCRYPT 1 #define HAVE_ASN1_STRING_GET0_DATA 1 #define HAVE_DH_GET0_KEY 1 #define HAVE_DH_GET0_PQG 1 #define HAVE_DH_SET0_PQG 1 #define HAVE_DTLS_METHOD 1 #define HAVE_DTLSV1_METHOD 1 #define HAVE_ERR_GET_ERROR_ALL 1 #define HAVE_EVP_MD_CTX_CREATE 1 #define HAVE_EVP_MD_CTX_DESTROY 1 #define HAVE_EVP_MD_CTX_FREE 1 #define HAVE_EVP_MD_CTX_NEW 1 #define HAVE_EVP_AES_128_CFB 1 #define HAVE_EVP_SHA224 1 #define HAVE_EVP_SHA384 1 #define HAVE_OPENSSL_SK_NUM 1 #define HAVE_OPENSSL_SK_VALUE 1 #define HAVE_OPENSSL_ADD_ALL_ALGORITHMS 1 #define HAVE_SSL_CTX_SET_COOKIE_GENERATE_CB 1 #define HAVE_SSL_GET1_PEER_CERTIFICATE 1 #define HAVE_SSL_LIBRARY_INIT 1 #define HAVE_SSL_LOAD_ERROR_STRINGS 1 #define HAVE_TLS_METHOD 1 #define HAVE_TLSV1_METHOD 1 #define HAVE_X509_NAME_ENTRY_GET_DATA 1 #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 #define HAVE_X509_GET_SIGNATURE_NID 1 #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const #define HAVE_LIBSSL_DTLS 1 #define HAVE_LIBSSL 1 #define NETSNMP_CAN_DO_CRYPTO 1 #define NETSNMP_USE_LIBWRAP 1 configure: exit 1 dh_auto_configure: error: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/riscv64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --host=riscv64-linux-gnu --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --with-persistent-directory=/var/lib/snmp --enable-ucd-snmp-compatibility --with-cflags="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DNETSNMP_USE_INLINE" --with-ldflags="-Wl,-z,relro -Wl,-z,now" --with-perl-modules=INSTALLDIRS=vendor --enable-as-needed --with-logfile=none --without-rpm --with-libwrap --with-openssl --without-dmalloc --without-efence --without-rsaref --with-sys-contact=root --with-sys-location=Unknown --with-mib-modules="smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable host" --with-out-mib-modules= --with-transports="TLSTCP DTLSUDP" --with-security-modules=tsm --enable-mfd-rewrites --with-mnttab=/etc/mtab --with-mibdirs=\$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf --with-mysql --with-systemd --enable-blumenthal-aes UNAMEPROG=/bin/uname PSPROG=/bin/ps --with-defaults returned exit code 1 make[1]: *** [debian/rules:43: override_dh_auto_configure] Error 25 make[1]: Leaving directory '/<>' make: *** [debian/rules:36: binary-arch] Error 2 dpkg-buildpackage: error: debian/rules binary-arch subprocess failed with exit status 2 -------------------------------------------------------------------------------- Build finished at 2026-01-01T17:24:30Z +------------------------------------------------------------------------------+ | Finished Timed Build Commands | +------------------------------------------------------------------------------+ rm -Rf /<>/ ---------------------------------------------------- I: Finished running 'rm -Rf /<>/'. Finished processing commands. -------------------------------------------------------------------------------- Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any Build-Space: n/a Build-Time: 59 Distribution: unstable Fail-Stage: build Foreign Architectures: riscv64 Host Architecture: riscv64 Install-Time: 12 Job: net-snmp_5.9.5.2+dfsg-2 Machine Architecture: amd64 Package: net-snmp Package-Time: 82 Source-Version: 5.9.5.2+dfsg-2 Space: n/a Status: attempted Version: 5.9.5.2+dfsg-2 -------------------------------------------------------------------------------- Finished at 2026-01-01T17:24:30Z Build needed 00:01:22, no disk space