Re: Unable to compile net-snmp due to netlink API change

2024-04-03 Thread Craig Small via Net-snmp-coders
On Wed, 3 Apr 2024 at 16:05, Bart Van Assche wrote: > Something else must be going on. This is the code from configure.ac that > checks for libnl-3: > > if test "x$ac_cv_header_netlink_netlink_h" = xyes; then > AC_EGREP_HEADER([nl_socket_free], [netlink/socket.h], >

Re: Unable to compile net-snmp due to netlink API change

2024-04-02 Thread Bart Van Assche
On 4/2/24 13:40, Craig Small wrote: On Wed, 3 Apr 2024 at 02:19, Bart Van Assche wrote: Can you please check the configure script logs to see why libnl-3 was not detected? libnl-3 was detected: configure:27875: $PKG_CONFIG --exists --print-errors "libnl-3.0" configure:27878: $? = 0 con

Re: Unable to compile net-snmp due to netlink API change

2024-04-02 Thread Craig Small via Net-snmp-coders
On Wed, 3 Apr 2024 at 02:19, Bart Van Assche wrote: > Can you please check the configure script logs to see why libnl-3 was > not detected? > libnl-3 was detected: configure:27875: $PKG_CONFIG --exists --print-errors "libnl-3.0" configure:27878: $? = 0 configure:27936: result: yes But libnl-rout

Re: Unable to compile net-snmp due to netlink API change

2024-04-02 Thread Bart Van Assche
On 4/2/24 01:49, Craig Small via Net-snmp-coders wrote: Hello All,   I was attempting to compile the git head of net-snmp. One big change is that uses netlink sockets instead of reading /proc/net/* The issue is the API is different to the library I can see. mibgroup/mibII/tcpTable.c:631:12:

Unable to compile net-snmp due to netlink API change

2024-04-02 Thread Craig Small via Net-snmp-coders
Hello All, I was attempting to compile the git head of net-snmp. One big change is that uses netlink sockets instead of reading /proc/net/* The issue is the API is different to the library I can see. mibgroup/mibII/tcpTable.c:631:12: error: too few arguments to function ‘nl_geterror’ 631 |