Re: Compiled variable code in net-snmp-5.4

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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

-------------------------------------------------------------------------
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.