On Mon, 2011-01-03 at 00:24 +0100, Thomas Anders wrote: > Unfortunately, the multi-platform build status of current SVN trunk > leaves something to be desired. I really hope that none of these > errors affect V5-6-patches. > Comments/fixes appreciated.
All but RHEL4 looks like they are due to struct sockaddr (from <sys/socket.h>) not being defined. This in turn is allowed by posix as it states that "Inclusion of the <netinet/in.h> header may also make visible all symbols from <inttypes.h> and <sys/socket.h>." so the quick fix is to add #if HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif to snmp_transport.h. As an aside I'd like to know why netsnmp_sockaddr_storage is needed, as opposed to sockaddr_storage from sys/socket.h? Is it some ancient unix stuff from when ipv6 was supported through extensions or what? (I'd also like to kick all of netsnmp_tmStateReference out from netsnmp_transport as it isn't transport independent but that is another issue) /MF ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
