[Buildroot] [PATCH 1/1] package/snmppp: fix build without SNMPV3

Luca Ceresoli luca.ceresoli at bootlin.com
Mon Mar 27 07:09:44 UTC 2023


Hi Fabrice,

On Mon, 20 Mar 2023 18:17:33 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Fix the following build failure without BR2_PACKAGE_SNMPPP_SNMPV3 raised
> since bump to version 3.5.0 in commit
> e011fa0415883b9d44df616cfaf6956e1a11da88:
> 
> msgqueue.cpp: In member function 'int Snmp_pp::CSNMPMessage::ResendMessage()':
> msgqueue.cpp:263:34: error: 'version3' was not declared in this scope; did you mean 'version1'?
>   263 |   if (m_target->get_version() == version3) {
>       |                                  ^~~~~~~~
>       |                                  version1
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/8ef3e4407a51c53c15e530606227338761dd905b
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Thanks for the quick fix!

Reviewed-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
Tested-by: Luca Ceresoli <luca.ceresoli at bootlin.com>

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list