This is a discussion on Re: Extending the Agent within the SNMP Coders forums, part of the Networking and Network Related category; [ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On Tue, 2005-08-23 at 15:27 +0530, aakansha rajvi wrote: > On 8/23/05, Dave Shield <D.T.Shield@csc.liv.ac.uk> wrote: > > On Tue, 2005-08-23 at 14:45 +0530, aakansha rajvi wrote: > > > > > Then I edited the 'win32\mib_module_includes.h' file to add an include > > > to my.h file. > > > > > > #include "mibgroup/my.h" > > > > And what are the contents of this file? > > I am having a directory called "test-mib" which contains the > collection of compiled MIBS(private mib) in agent/mibgroup. > > Inside "test-mib" I am having say "poe" directory which in turn > contains poe.c and poe.h files(Compiled files of POE MIB ). Similarly > inside test-mib I am having around 10 directories.These directories > has corresponding header files too in "test-mib" > > so I included, #include "mibgroup/test-mib/poe.h" Now I'm getting confused. First you said you included the header file 'mibgroup/my.h' Now you say you're including the header file 'mibgroup/test-mib/poe.h' But you also say that test-mib includes a *directory* "poe" which contains the file poe.h. This would imply that you should be including the header file 'mibgroup/test-mib/poe/poe.h' What is the *exact* line that you have in the file 'win32\mib_module_includes.h' ? What is the full pathname of the file that you expect to be included, and what are the contents of this file? Dave ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |