Re: Problems with subagent under uClinux(2)

2004-12-07 Thread Coders
On Tue, 30 Nov 2004 14:39:22 +0800 Yi wrote: YH> But I've no idea of what the `66624 bytes sent to local IPC' is, YH> since I didn't work on it any more. Anybody knows? The only thing I can think of is that maybe there is a byte-order problem somewhere... YH> My question is, what should I do

Re: Problems with subagent under uClinux(2)

2004-11-29 Thread Yi Hu
Thanks for your attention, I thought I've had the `select' problem resolved: The first argument of select() must be greater than ZERO, since the master agent passes opened_session_numbers to subagent as a pointer, and when the master is NOT in a stable state, i.e., the master cannot process request

Re: Problems with subagent under uClinux(2)

2004-11-29 Thread Coders
On Thu, 25 Nov 2004 16:13:55 +0800 Yi wrote: YH> I tried some ways to avoid the `select' error mentioned in the last letter. YH> YH> I merely removedthe default mibs defined in net-snmp-config.h: YH> #define DEFAULT_MIBS "" Hmmm... that seems to be a very odd thing to affect a select stat

Problems with subagent under uClinux(2)

2004-11-25 Thread Yi Hu
Hello, I tried some ways to avoid the `select' error mentioned in the last letter. I merely removed the default mibs defined in net-snmp-config.h: #define DEFAULT_MIBS "" And this worked. But I still cannot get response from the subagent(It says: "No response from ..."). Then I turned

Problems with subagent under uClinux

2004-11-24 Thread Yi Hu
Greetings, I compiled net-snmp libraries(libnetsnmp.a, libnetsnmphelpers.a, libnetsnmpmibs.a, libnetsnmpagent.a) under a nios-elf environment(NIOS Development Kit 3.1) using nios-elf-ar, and succeeded in running snmpd on my board for snmpget/getnext operations. The snmpd handles requests correctl