[AGENT++] R: R: pure virtual method called

Michele Marcon M.Marcon at riello-ups.com
Mon Feb 21 11:30:42 CET 2011


Hi,

>you get an error, where it definitely should not occur. I suggest the
>following:
>- Double check that the compiler flags and defines (_SNMPv3, IPv6,...)
>are the same when compiling snmp++, agent++ and the agent
>- Do you use shared libraries of snmp++ and agent++? If yes, double
>check that the cross compiler/linker uses the same libraries as the
>runtime linker on the ARM platform.

We are using the same makefiles; the only difference is that instead of cc we are using arm-linux-gcc (for obvious reasons).

- Are the snmp++ consoleExample working as expected (snmpTraps and
receive_trap)?

No. Here is the output:

[root at EK250 netman]# ./snmpTraps 10.1.10.87
20110221.11:55:54: 5912: (6)INFO   : AuthPriv: Added auth protocol (id): (3)
20110221.11:55:54: 5912: (6)INFO   : AuthPriv: Added auth protocol (id): (2)
20110221.11:55:54: 5912: (6)INFO   : AuthPriv: Added priv protocol (id): (2)
20110221.11:55:54: 5912: (3)INFO   : AuthPriv: Added default Auth and Priv protocols.
SNMP++ Trap to 10.1.10.87 SNMPV1 Community=public
Segmentation fault
[root at EK250 netman]#

- Does the agent++ atm_mib example agent work as expected? This example
agent also uses mib->notify().

This also goes segmentation fault, but I suppose that the above consoleExample is a smaller test case.

Thanks.




Michele Marcon
Centro Ricerche
RPS SpA
Viale Europa, 7
37045 Legnago (VR)
Tel. +39 0442 635811 - Fax. +39 0442 635934 - Mobile: +39 335 1233317
Skype Id:  - VoIp:
E-mail: M.Marcon at riello-ups.com
Web: http://www.riello-ups.com
 -----------------------------------------------------------------------------------------------------
Per favore non stampare questo messaggio se proprio non è necessario
Please consider the environment before printing this e-mail
-----------------------------------------------------------------------------------------------------
Chi riceve il presente messaggio e` tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e` pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita` connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.







More information about the AGENTPP mailing list