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