Hi All-
I'm having a hard time trolling through all of the emails. Can anyone tell me
if they've had a problem with a subagent when compiling optimized (g++ -03)
the load functions (written in cpp? In other words, my c++ helper functions
that supply the data to the C cache loader don't seem to stay registered when I
compile the c++ part optimized. I've used mfd to generate the C code and only
have my helper functions that supply the data written in c++.
When compiled non-optimized it works great! The agent reports debug
information since I'm using -Dsnmp_agent,agentx. The lines missing in the
optimized trail run, but exist in the non-optimized are:
agentx/master: got response errstat=0, (req=0x2,trans=0x1,sess=0x7)
agentx/master: agentx_got_response() beginning...
agentx/master: handle_agentx_response: processing:
SNMPv2-SMI::enterprises.35873.9.5.1.1.1.1.1
agentx/master: handle_agentx_response() finishing...
snmp_agent: processing delegated request, asp = 0x7faab1517620
snmp_agent: REMOVE session == 0x7faab1517620
snmp_agent: agent_session 0x7faab1517620 released
Go figure. It seems like my callbacks got unregistered or something since the
first 2 mfd lines that are not seen in the optimized version are:
internal:sfpFeedsTable:_cache_load: called
verbose:sfpFeedsTable:sfpFeedsTable_container_load: called
As always, any insights would be appreciated.
Judy
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders