Hi All, Hi I want to make an snmp agent which can support MARCONI mibs.
Presently I am trying to perform an exercise by using the the NET-SNMP-TUTORIAL-MIB. I have done the following steps : 1)Copied the MIB file to the C:\net-snmp-5.2.1\mibs directory. 2)Copied the C and H source code files(from the site) to the directory C:\net-snmp-5.2.1\agent\mibgroup. 3)Modified the SNMP.CONF file to include this line : mibs +ALL to include all the MIBS 4)Then I am following the Microsoft Visual C++ - Extending the Agent section on README.WIN32 and then when i try to build the netsnmpmibs library it gives me this error : --------------------Configuration: netsnmpmibs - Win32 Debug-------------------- Compiling... setSerialNo.c C:\net-snmp-5.2.1\agent\mibgroup\mibII\setSerialNo.c(14) : fatal error C1083: Cannot open precompiled header file: 'Debug/netsnmpmibs.pch': Permission denied Error executing cl.exe. I cannot see the file netsnmpmibs.pch in my PC.Am I doing something wrong?SNMPD is properly installed in my PC and when I run it does work fine.But I am facing this problem if I am trying to rebuild the libraries to extend my agent. I have followed only the steps that I have written above.Am I missing on something?If so then please let me know about it.I am using Microsoft Visual C++ to build the library.Even if I try to build the same from command prompt using the BUILD.BAT file it gives me the same error. I am using the following menu option to build it. Net-SNMP build options ====================== 1. OpenSSL support: disabled 2. Platform SDK support: disabled 3. Install path: c:/usr 4. Install after build: enabled 5. Perl modules: disabled 6. Install perl modules: disabled 7. Quiet build (logged): enabled 8. Debug mode: disabled 9. IPv6 transports: disabled F. Finished - start build Q. Quit - abort build Select option to set / toggle: I need to check that if this is working fine because I have to soon develop a SNMP agent to cater to MARCONI supplied MIBS. Regards, Samrat Dutta Switch Manager/C-SCAS Development Phone no : 01473 348876 ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users