I cant able to figure out where I am going wrong. Still I am stuck up with the same issue. Can anyone pls help me on this?
Actually I have configure net-snmp 5.2.1 in linux and it is working fine there. Then I executed "make distclean" and copied that package to windows PC. In windows with VC ++ I am trying to install net-snmp with my private mibs. If at all I am compiling with my private mibs I am getting error messages. I too posted my configuration files like netsnmpmibs.dsp in my previous mesasge. Thanks. On 8/24/05, aakansha rajvi <[EMAIL PROTECTED]> wrote: > I have edited the netsnmpmibs.dsp file as to reflect my directory structure. > I am sending the files along with make.out. > > Can you pls have a look at this? > > Thanks > > > > On 8/24/05, aakansha rajvi <[EMAIL PROTECTED]> wrote: > > On 8/24/05, Dave Shield <[EMAIL PROTECTED]> wrote: > > > 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 > > > > > > Yes. I am having the entry. Pls have a look at the attached files. > > I am attaching mib_module_includes and mib_module_inits files also. > > > > > > > > > > > > > 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 Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders