Updating our snmp++/agent++/agentx++ to latest and getting the following error… please help
agentx.cpp: In constructor Agentpp::AgentXMaster::AgentXMaster(Agentpp::Mib*):
agentx.cpp:441:58: error: incomplete type Agentpp::snmpTargetAddrExtEntry used in nested name specifier
_snmpTargetAddrExtEntry = snmpTargetAddrExtEntry::get_instance(mib);
Although we will fix this for the next AgentX++ release, it is not recommended not useful to compile AgentX++ without _SNMPv3 defined in SNMP++ and AGENT++.
The AgentX++ standard uses SNMPv3 concepts (i.e. context). Thus, disabling them while using them (in some way at least) will not result in a useful setup.
Many thanks for the quick answer! I’ve enabled SNMPv3 in the snmp++ configure, and can build the library now. I now have the problem to set the community strings - I still want to build my agent an SNMPv2c one - but of course community strings aren’t part of SNMPv3. So maybe disabling that line as Jochen suggested would be the simplest action for now?