RE: Compiled variable code in net-snmp-5.4

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <D8581B936E66064091ED5E1E4A4CC80213F0E6@ausx3mps304.aus.amer.dell.com>
 
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Thursday, April 12, 2007 3:46 AM
To: Wilde, Donald
Cc: [email protected]; [email protected]
Subject: Re: Compiled variable code in net-snmp-5.4

On 11/04/07, [email protected] <[email protected]> wrote:
> ./configure --with-mib-modules="DELL-CMC-MIB"

What is the name of the code file?
That's what --with-mib-module is wanting, not the name of the MIB.

If your code is in the file 'drs.c', then the configure command should
be

   ./configure   --with-mib-modules=drs ....

and it will invoke the routine 'init_drs'

If your init routine is called 'init_drsProductName', then the file must
be called 'drsProductName.c', and you invoke configure as

   ./configure   --with-mib-modules=drsProductName ....

These three values must match.
That's probably why you needed to hack things manually.

Dave

My code files are also combined into DELL-CMC-MIB.[ch] in
agent/mibgroup, and /usr/local/share/snmp/mibs/DELL-CMC-MIB.txt is the
MIB.


--
Don Wilde                           512-723-8255
Dell, Incorporated         Austin, Texas, USA

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.