Re: "can any one help to slove problem "configure the new MIB file -- " $ ./configure --with-mib-modules="netSnmpTutorialMIB""
Jens Luetkens <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
manu kumar wrote: > Hi ALL, > > I had problem while "configure the new MIB file", as I created a > new file.txt and able to compile it and I got xxx.h and xxx.c . I modified > the xxx.c file to get and set the value and placed the xxx.h and xxx.c file > in ./agent/mibgroup folder > After that I am try to do this" $ ./configure > --with -mib-modules="netSnmpTutorialMIB" configure but its notworking > > Error its coming is ::: > .......................................................................... > ......................................................................... > checking for and configuring transport modules to use... Callback Unix TCP > UDP. > checking for security modules to use... usm > checking for and configuring mib modules to use... netSnmpTutorialMIB > default_modules. > configure: WARNING: mib module error > configure: error: module files netSnmpTutorialMIB.h or > netSnmpTutorialMIB.ccould not be found in ./agent/mibgroup > > How to solve the problem .. is it a environment var problem are it require > any settings with this configure your MIB file needs to be ./mibs/netSnmpTutorialMIB.txt, right? And your .c and .h files are ./agent/mibgroup/netSnmpTutorialMIB.c and ./agent/mibgroup/netSnmpTutorialMIB.h, right? Also add your mib file to the according section of ./mibs/Makefile.in and configure again to have it installed to the proper location. HTH Jens ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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