RE: Query for net-snmp-config command

2004-06-24 Thread asawari.teredesai
AIL PROTECTED] Sent: Wednesday, June 23, 2004 3:07 PM To: Asawari Dinesh Teredesai (WT01 - TELECOM & INTER-NETWORKING SOLUTIONS) Cc: [EMAIL PROTECTED] Subject: Re: Query for net-snmp-config command > But what about header files? They should match the names of the C files (just with a differ

RE: Query for net-snmp-config command

2004-06-24 Thread asawari.teredesai
Dinesh Teredesai (WT01 - TELECOM & INTER-NETWORKING SOLUTIONS) Cc: [EMAIL PROTECTED] Subject: Re: Query for net-snmp-config command > $ net-snmp-config --compile-subagent example2 example2.c -I../../../mibgroup > > Can I do this using 2 folders (LAN and NMS) instead of only 1 fo

Re: Query for net-snmp-config command

2004-06-23 Thread Dave Shield
> But what about header files? They should match the names of the C files (just with a different suffix, naturally!) The main thing to be aware of is that any "init_xxx" routines *must* be declared in a file called "xxx.h" (i.e. the name of the files and the name of the init routine should mat

Re: Query for net-snmp-config command

2004-06-23 Thread Dave Shield
> $ net-snmp-config --compile-subagent example2 example2.c -I../../../mibgroup > > Can I do this using 2 folders (LAN and NMS) instead of only 1 folder Yes, of course. Just try listing all the various code files on the command line: net-snmp-config --compile-subagent example2

Query for net-snmp-config command

2004-06-22 Thread asawari.teredesai
Hi All I'm working on net-SNMP 5.1. I got stuck due to one small problem, I'm unbale to create "subAgent" file. I have agent code in 2 separate folders, LAN and NMS. You have given as following to write and install subagent Download example2.c and example1.h $mkdir ${HOME}/agent/mibgroup/e