building net-snmp: (was: Updated: net-snmp-5.8-1)

Tue Apr 28 15:38:50 GMT 2020

> If you want to make a point or ask a question the Cygwin mailing list is
> the appropriate place.

You don't need this anymore
if you build net-snmp with
  export ENV_SEPARATOR=":"

And maybe now they'll accept a patch so that building on cygwin
doesn't require an evar.  I think  "gcc -mno-cygwin ..."  might still
have been supported when I tried to get it changed and the best they'd
do was an evar when building.

Is 06-winstub.patch necessary?  Necessary if all you're using is the
command line tools?
The changelog has this
commit fda421625d20d8f8201479fa7f33c257fdc72015
Author: Bart Van Assche <>
Date:   Sun Nov 27 11:25:40 2016 -0800

    Cygwin: getnetent() / getnetbyaddr() build fix

    Recent versions of Cygwin have prototypes but no implementation for
    these functions. Hence avoid that the Cygwin prototypes conflict
    with the implementation.

In other words, if I'm using just the snmp{get,set} command line
tools, should I be applying this patch?


On 4/27/20, David Rothenberger wrote:
> ============
> Simple Network Management Protocol (SNMP) is a widely used protocol
> for monitoring the health and welfare of network equipment
> (eg. routers), computer equipment and even devices like
> UPSs. Net-SNMP is a suite of applications used to implement SNMP v1,
> SNMP v2c and SNMP v3 using both IPv4 and IPv6. The suite includes:
>   * Command-line applications to:
>     * retrieve information from an SNMP-capable device, either using
>       single requests (snmpget, snmpgetnext), or multiple requests
>       (snmpwalk, snmptable, snmpdelta).
>     * manipulate configuration information on an SNMP-capable device
>       (snmpset).
>     * retrieve a fixed collection of information from an
>       SNMP-capable device (snmpdf, snmpnetstat, snmpstatus).
>     * convert between numerical and textual forms of MIB OIDs, and
>       display MIB content and structure (snmptranslate).
>   * A graphical MIB browser (tkmib), using Tk/perl.
>   * A daemon application for receiving SNMP notifications
>      (snmptrapd). Selected notifications can be logged (to syslog,
>      the NT Event Log, or a plain text file), forwarded to another
>      SNMP management system, or passed to an external application.
>   * An extensible agent for responding to SNMP queries for
>     management information (snmpd). This includes built-in support
>     for a wide range of MIB information modules, and can be extended
>     using dynamically loaded modules, external scripts and commands,
>     and both the SNMP multiplexing (SMUX) and Agent Extensibility
>     (AgentX) protocols.
>   * A library for developing new SNMP applications, with both C and
>     perl APIs.
> =============
>  * The snmpd daemon does not provide much useful information.
>    Installing it as a service under Cygwin is left as an exercise
>    for the user.
> ==========
> If you want to make a point or ask a question the Cygwin mailing list is
> the appropriate place.
> --
> David Rothenberger
> Remember:  Silly is a state of Mind, Stupid is a way of Life.
>                 -- Dave Butler
> --
> Problem reports:
> FAQ:        
> Documentation:
> Unsubscribe info:

More information about the Cygwin mailing list