[AGENT++] SNMP++ 3.3.6 building problem

Jochen Katz katz at agentpp.com
Fri Feb 26 21:32:26 CET 2016


Hi,

> I'm trying to build the SNMP++ latest release but I'm having problems
> with the macaddress support:
> 
> address.cpp:2991:34: error: cannot allocate an object of abstract
> type 'Snmp_pp::MacAddress'

the MacAddress class is missing the following member function:
  virtual Address& operator=(const Address &val);
If you declare it and implement it using just copy-paste from
  SnmpSyntax& MacAddress::operator=(const SnmpSyntax &val)
you can compile and use it.

> And I've found a thread [1] about some pending changes to the
> MacAddress code.

This typo or copy-paste-error is still in the current release. You can
fix it easily in the configure.ac script.

Regards,
  Jochen



More information about the AGENTPP mailing list