On Tue, 20 Sep 2016 08:40:22 -0400 Robert wrote: RS> On Sun, 18 Sep 2016 19:17:49 +0200 Magnus wrote: RS> MF> Tried to build net-snmp today. RS> MF> RS> MF> Among the flags I included in my build was --with-systemd=yes. RS> MF> RS> MF> This triggers the error message RS> MF> RS> MF> ../../git2/net-snmp/snmplib/transports/snmpUDPIPv4BaseDomain.c: In function 'netsnmp_udpipv4base_transport_socket': RS> MF> ../../git2/net-snmp/snmplib/transports/snmpUDPIPv4BaseDomain.c:150:50: error: 'addr' undeclared (first use in this function) RS> MF> ntohs(addr->sin_port)); RS> MF> ^~~~ RS> MF> This semms to be caused by patch a9ce31c4 which removed the addr argument RS> MF> from the declaration of netsnmp_udpipv4base_transport_socket. RS> RS> That's most likely my fault. I'm merging in a large set of changes, try to RS> group them into manageable chunks. I hadn't tested with systemd, but I'll RS> look into it today.
Just pushed what I hope is a fix. Compiles with and without systemd support enabled. -- Robert ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders