snmpping doesn't build with --enable-read-only

Bill Fenner <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAF4SogbovUx-6KxfZdvRKYEuQsdikyodosWdJC4gAUP1E6vZmQ@mail.gmail.com>
On Tue, May 15, 2018 at 9:58 AM, Bart Van Assche <[email protected]> wrote:

> Even if I do not enable any additional MIBs building with
> --enable-read-only fails on the master branch:
>
> snmpping.c: In function ‘cleanup_ctlTable’:
> snmpping.c:276:27: error: ‘SNMP_MSG_SET’ undeclared (first use in this
> function)
>      pdu = snmp_pdu_create(SNMP_MSG_SET);
>                            ^
> snmpping.c:276:27: note: each undeclared identifier is reported only once
> for each function it appears in
>
> Is this a known issue?
>

Whoops, I messed up when introducing snmpping to the Makefile; it should be
protected with NETSNMP_BUILD_SET_PROG_TRUE/FALSE instead of being added to
the list unconditionally.  I'll prepare a patch to propose.

  Bill

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.