On Tue, 15 Feb 2005 11:11:11 -0500 [EMAIL PROTECTED] wrote:
CRC> > ... Is ss NULL? If not, what does it contain for community?
CRC> 
CRC> and my log says:
CRC> 
CRC>   session.peername:localhost
CRC>   session.community:(null)
CRC>   ss:0x101689e0
CRC>   ss->peername:localhost
CRC>   ss->community:(null)
CRC> 
CRC> I can't really step into the code because the target environment is an
CRC> embedded system where I don't have good debugging support.  I can pepper
CRC> snmp_open() with fprintf()s. :-/  But you say that you don't see anything
CRC> there that would trash the community...

Ok, if it isn't mis-matched libraries, then my next guess will be mis-matched
headers. See if this finds multiple copies:

        find /usr/include /usr/local/include -name snmp_api.h -print

A dup in ucd-snmp/snmp_api.h is ok, but if it finds more then that's likely the
problem, since the session structure size changed between releases.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to