[AGENT++] Help with getting agent++ work
Frank Fock
fock at agentpp.com
Wed Jul 27 07:18:51 CEST 2005
Hi,
Please download SNMP++ and AGENT++ again and compile it
ina different place. It seems that you have changed some #defines
without recompiling everything and thus using a consistent set of
#defines.
Best regards,
Frank
Subha Velayutham wrote:
>I am using snmp++ version 3.2.17 and agent++ version 3.5.23.a on
>windows/linux and running into a lot of issues even getting the examples
>that come with the agent++ source work.
>
>I am using the atm example from the agent++\examples folder. The same
>behavior happens with the other examples too. I really need help.
>
>If I use SNMPV3, then I get a access violation at line 434(int users =
>usm->get_user_count();) of V3_mib.cpp because the usm got at line 397 is
>null. (usm = v3mp->get_usm();) In fact the v3MP created in the main routine
>of the atm example itself is null.(line 363)
>
>If I define _NO_SNMPV3 and if I dont define _NO_THREADS I get an access
>violation exception in mib.cpp at line 3375.
>3374: MibTask* mt = new MibTask(call);
>3375: threadPool->execute(mt);
>
>If I define _NO_SNMPV3 and if I do define _NO_THREADS then the
>Snmpx::receive(struct timeval *tvptr, Pdux& pdu, UdpAddress& fromaddr,
>snmp_version& version, OctetStr& community) method returns with
>SNMP_CLASS_TL_FAILED from line 1404.
>
>1399: nfound = select(max_fd+1, &readfds, 0, 0, tvptr);
>if (nfound == -1)
>{
>if (errno != EINTR)
>1404: return SNMP_CLASS_TL_FAILED;
>continue;
>}
>
>Can someone help me here? I would really appreciate any help - if you have
>working examples that would be even better.
>
>Thanks,
>Subha
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/agentpp
>
>
>
>
More information about the AGENTPP
mailing list