Hi Dave,
I tried following command -
mib2c -c mib2c.scalar.conf -c mib2c.int_watch.conf -f netSnmpExamples
netSnmpExamples.txt
but it doesnot read parameters defined in MIB file netSnmpExamples.txt
to generate the skeleton of the MIB.
Thanks,
Sagar.
On Fri, 2006-12-01 at 20:26 +0000, Dave Shield wrote:
> On 29/11/06, Sagar Shukla <[EMAIL PROTECTED]> wrote:
> > I couldnot find any options using mib2c utility to convert my MIB
> > file into its equivalent .c file which I can compile as a loadable
> > module. I want all the objects defined in MIB file to be part of the .c
> > module source.
>
> Yes - that's the basic purpose of "mib2c".
> Running it without any options would typically prompt you
> for certain characteristics of the MIB objects you're trying to
> model, and then generate a suitable template.
>
> What exactly have you tried so far?
>
> Dave
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users