>>>>> On Mon, 9 Nov 2009 08:50:14 +0100, Robert Frank <[email protected]> 
>>>>> said:

RF> On linux machines, be it 32 or 64 bit, centos 5.3 or fedora4, 10, 11  
RF> or whatever, I get a segfault if I use the init_snmp() function (with  
RF> a parameter of "snmpapp"), but on

Odd.  You'd need to get a full backtrace from a debugger to figure out
what's wrong there.

The following page may help you:
  http://www.net-snmp.org/wiki/index.php/Debugger

RF> As mentioned, the program runs fine on all linux intel systems when  
RF> *not* using snmp_init, but fails on ppc (big-endian problem?)

You should use init_snmp() at all times as it does necessary boot strapping.


-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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
  • init_snmp Robert Frank
    • Re: init_snmp Wes Hardaker

Reply via email to