On Wed, 2005-08-24 at 19:17 +0530, aakansha rajvi wrote:
> On 8/24/05, aakansha rajvi <[EMAIL PROTECTED]> wrote:
> > On 8/24/05, Dave Shield <[EMAIL PROTECTED]> wrote:
> > > If you look closely at the section of that output which follows
> > > the reference to "netsnmpmibs", there's no mention whatsoever
> > > of your "test-mibs" directory, or any of your new MIB modules.
>
> As I mentioned that my directory structure as ,
>
> agent
> |
> mibgroup
> |
> test-mib
> | |
> poe apps...etc.,
> |
> poe.c poe.h
>
> I added just poe.c and poe.h to netsnmpmibs project. Is it required to
> add a reference to test-mib (which contains all the private compiled
> mibs) anywhere?
Yes!
How else do you expect the compiler to *find* these files?
When you add a module to the "netsnmpmibs" project, you should
be specifying the full (relative) path to the code file.
For example, the first few entries in the distribution are:
SOURCE=..\..\agent\mibgroup\mibII\setSerialNo.c
SOURCE=..\..\agent\mibgroup\mibII\snmp_mib.c
SOURCE=..\..\agent\mibgroup\mibII\sysORTable.c
etc
so you need to be adding something like
SOURCE=..\..\agent\mibgroup\test-mib\poe\poe.c
If you believe that you've already done this (and it still
doesn't work), then perhaps you could append a copy of the
updated netsnmpmibs.dsp file, so that we can see what you've
actually done (rather than having to guess).
And please send this to the *list*, not to me directly.
I don't intend to respond to email sent privately.
[Oh, and it would be useful if one of our Windows experts
could chip in at some point. I'm acutely aware that I'm
trying to provide advice from a position of acute ignorance!]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders