In our environment we have one main application which currently starts 3
threads (one of which is the NetSNMP subagent). Now, in the
".../snmplib/snmp_api.c" file there is a global pointer variable called
"Sessions". This variable name was conflicting with one of the other threads
in our application. People are telling me that the linker must be getting
confused as to which "Sessions" variable belongs to which thread or something.
Anyway, once I renamed the "Sessions" variable from the NetSNMP code then
everything worked fine.
NetSNMP code usually prefixes stuff with "snmp", "netsnmp", etc.... , however,
for this variable it was just called "Sessions", which turns out to be to
generic.
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games. -------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders