Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

1. Install 
* ActivePerl (32 bit)
* Visual Studio 2015

* Install net-snmp an jump to 5.

or

Download latest version of net-snmp library
https://sourceforge.net/p/net-snmp/code/ci/master/tree/

2. Start nmake environment
"\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"

3. Build
C:\Users\rok\Downloads\net-snmp-latest\win32>build.bat   ---> choose dynamic build
(1:dis,4:en,7:dis,8:dis,9:en,10:dis,11:en,12:en,13:dyn,14:en)

4. Install (ce je potrebno?)
C:\Users\rok\Downloads\net-snmp-latest\win32>nmake install_devel

5. Copy WIENER-CRATE-MIB.txt 
C:\usr\share\snmp\mibs    WIENER-CRATE-MIB.txt
   
6. Copy C:\usr\include\net-snmp\net-snmp-config.h to instrument dir and
comment out:
/*
enum {
    netsnmp_compile_time_uintptr_t_size_check
        = sizeof(struct netsnmp_compile_time_uintptr_t_size_check_s { int:-!(sizeof(uintptr_t) == sizeof(void*)); })
};
*/