RE: 1. Compiling Net-SNMP to use static linking 2. Cross-compileoptions for PowerPC using Montavista Linux

2006-09-11 Thread Passera Pablo-APP015
Adding the list... We had the same problem, the cause was because the cross compiler used to generate the executable was creating it using a different libm version than the one in the embedded system. For instance, the cross compiler is compiling using libm.so.6 and in /usr/lib inside the embedded

Re: 1. Compiling Net-SNMP to use static linking 2. Cross-compileoptions for PowerPC using Montavista Linux

2006-09-11 Thread ayan
I ran the agent in GDB, and was able to fix the problem. A very basic mistake .. declaring a string using "char *text" and subsequently using it without initialization. This was causing a stack overflow randomly. Thanks for all your help. Ayan On Fri, 8 Sep 2006 20:54:39 +0100 "Dave Shield" <

Re: Questions: some configures about trap receiver(snmptrapd)

2006-09-11 Thread 尧昱
First, thank you very much. I have read the snmptrapd.conf manual page, and have changed the snmptrapd.conf simply, and the trap/informs show out, but in order to deal with the PDU received, I want to know how it do with the pdu received in the codes( snmptrapd.c), and which functions do it, print_

Re: rfc: net-snmp-config.h

2006-09-11 Thread Thomas Anders
Magnus Fromreide wrote: > On Fri, Aug 25, 2006 at 04:15:55PM +0200, Thomas Anders wrote: >> Robert Story wrote: >>> $ cvs diff configure.in >>> Index: configure.in >> [...] >>> +AC_CONFIG_HEADER(include/net-snmp/libtool-config.h) >>> AC_CONFIG_HEADER(include/net-snmp/net-snmp-config.h) >> I don't

MFD RowStatus example

2006-09-11 Thread Rex Huang
Hello coders, It's nice that I implemented RowStatus Table by using mfd.conf, on NET-SNMP v5.3.0.1 (v5.3.1 will ok). Scenario: A SNMP client will tell the sub-agent server_ip, server_port, game_ip and game_port, so the sub-agent could notify the correct server to deny that game's TCP connect