compile error for old style proxy objects
Frank Fock
Frank.Fock____t-online.de
Fri Jul 4 00:48:13 CEST 2003
Hi Christian,
There is a small bug in the mib.h file when compiling
without _PROXY_FORWARDER. To fix it, just move the
line where the boutCounterFile is defined one line
upwards, like this:
#ifdef _SNMPv3
OctetStr bootCounterFile;
#ifdef _PROXY_FORWARDER
OctetStr myEngineID;
OidList<ProxyForwarder> proxies;
#endif
The old-style proxy implementation has to be used
with STATIC_REQUEST_LIST defined in agent++.h.
Best regards,
Frank Fock
Bettendorf, Cristian wrote:
> Hi,
>
> using agent++ 3.5.12b, snmp++ 3.2.8 with SNMPv3 disabled and old style proxy
> objects ( the _PROXY_FORWARDER is NOT defined in agent++.h ), the proxy
> example don't compile (errors both on Solaris, Windows)
>
> error msg on Solaris:
> "/mib_proxy.cpp", line 226: Error: The name Mib::requestList is unusable
> except in a non-static member function.
>
>
> Any hint?
>
> Thanks
> Cristian
>
>
More information about the AGENTPP
mailing list