Re: Fw: Unable to build Net-Snmp with embedded perl
Bart Van Assche <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAO+b5-rwZxfJUYktak2N3siDrGcRJcYOmm_tL9ChO0pCy_tOdg@mail.gmail.com> |
On Thu, Aug 4, 2011 at 10:44 AM, <[email protected]> wrote: > R:\cots\net-snmp\net-snmp-5.7\include\net-snmp/library/snmp_transport.h(74) > : error C2079: 'sin6' uses undefined struct 'sockaddr_in6' > That' because the Perl headers are included first in the Net-SNMP Perl modules and because in these headers _WIN32_WINNT is set to 0x400 which causes the IPv6 structures to be hidden. This patch should fix it (I'm not sure whether it applies cleanly on the 5.7 sources): http://net-snmp.git.sourceforge.net/git/gitweb.cgi?p=net-snmp/net-snmp;a=commitdiff;h=cbcffed984096a3356a6490a9880870937093944;hp=d2c7265624da0ed91ccc0c8e5f8af1062782760c Bart. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users