Hey,

I've build net-snmp 5.7.3 under win7 and cygwin and now trying to build a
sample with VC++ 2008, but getting this error:

1>c:\usr\include\net-snmp\types.h(81) : error C2371: 'socklen_t':
Neudefinition; unterschiedliche Basistypen
1>        c:\program files\microsoft
sdks\windows\v6.0a\include\ws2tcpip.h(502): Siehe Deklaration von
'socklen_t'

Which means:
* New definition; different base types
* See declaration of "socklen_t"

My sample has only 2 net-snmp includes:
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>

and a reference to netsnmp_session struct and does nothing beyond that.

Thanks,
Sergiy
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to