On 2025/03/07 15:34, Wes Hardaker via Net-snmp-coders wrote:
> 
> Greetings all,
> 
> It's been a while ---  time to finally release a 5.10 pre-release
> candidate.  Consider this a feature freeze and the master branch should
> only be used for bug fixes at this point.  Please give 5.10.pre1 a
> whirl -- it certainly won't be perfect yet.

To see how things are going with API changes, I've tested building
everything in OpenBSD ports which depends on this. (I'm not suggesting
that Net-SNMP needs to change anything unless these are unexpected, but
at least giving other package maintainers a heads-up on what might be
affected).

Built ok: sane-backends, php (8.2/8.3/8.4), ifstat, lldpd, mbrowse,
monitoring-plugins, rtg, snmptt, tcl-snmptools, ttg, zabbix, hplip,
fwbuilder, collectd, nut, asterisk (16/18/20/22), kamailio.

I had two failures; gnugk (we are up to date on this; 5.13) and ntopng
(out of date, I can't easily test with a current version).

gnugk:

snmp.cxx:87:11: error: expected '(' for function-style cast or type construction
        trapOID[ OID_LENGTH(trapOID) - 1 ] = trapNumber;
                 ^~~~~~~~~~~~~~~~~~~
/usr/local/include/net-snmp/library/asn1.h:65:56: note: expanded from macro 
'OID_LENGTH'
     sizeof(int[-__builtin_types_compatible_p(typeof(x), typeof(&(x)[0]))]))
                                              ~~~~~~~~~^
snmp.cxx:87:11: error: expected '(' for function-style cast or type construction
        trapOID[ OID_LENGTH(trapOID) - 1 ] = trapNumber;
                 ^~~~~~~~~~~~~~~~~~~

ntopng:
various from snmp_sess_* functions taking struct session_list * rather
than void *, and also

src/SNMP.cpp:452:47: error: assigning to 'oid *' (aka 'unsigned long *') from 
incompatible type 'const oid[10]' (aka 'const unsigned long[10]')
            snmpSession->session.securityAuthProto = usmHMACMD5AuthProtocol;
                                                     ^~~~~~~~~~~~~~~~~~~~~~





_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to