hi,
i guess you should first check the file net-snmp-config.h. 
You can also try to extend the agent manually by adding the mib to the line 
#define MIB_DEFAULTS in net-snmp-config.h. The Modules you want to include can 
be added by the same way. You just need to add the module name into 
mib_module_inits.h, mib_module_includes.h and mib_module_config.h. 
If it doesnt work try to configure the agent again 
  ----- Original Message ----- 
  From: manu kumar 
  To: [email protected] 
  Sent: Wednesday, July 11, 2007 3:38 PM
  Subject: "can any one help to slove problem "configure the new MIB file -- " 
$./configure --with-mib-modules="netSnmpTutorialMIB""


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

    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.c 
could not be found in ./agent/mibgroup

    How to solve the problem .. is it a environment var problem are it require 
any settings 



------------------------------------------------------------------------------


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

Reply via email to