On 12/01/14 19:38, Wes Hardaker wrote:
> Bart Van Assche <bvanass...@acm.org> writes:
>
>> With the latest Cygwin version <winsock2.h> must be included before
>> <iphlpapi.h>. However, <winsock2.h> is incompatible with the Cygwin
>> socket header files. Hence disable the mibII MIBs that depend on
>> <iphlpapi.h> if <iphlpapi.h> needs <winsock2.h>.
>
> Was that patch reversed?
>
> Based on the paragraph above, I believe it was.  If it was reversed then
> +1.  Though I'm not happy about the solution, since it's removing
> functionality.  We need a better patch in the long run.

Hello Wes,

That patch has not been reversed. It works as follows:
* For Unix platforms neither cygwin nor HAVE_IPHLPAPI_H are defined so 
all MIB-II tables are included.
* When building Net-SNMP with Visual Studio, the Microsoft platform SDK 
or with MinGW then HAVE_IPHLPAPI_H is defined but cygwin not. In this 
case also all MIB-II tables are included.
* When building with old Cygwin versions both cygwin and HAVE_IPHLPAPI_H 
are defined and also all MIB-II tables are included.
* When building with a recent Cygwin version cygwin is defined but 
HAVE_IPHLPAPI_H not. In this case mibII/at..mibII/udp are excluded.

I hope this makes it clear.

Bart.



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to