Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 151 | f9daq | 1 | 1. Install |
| 2 | * ActivePerl (32 bit) |
||
| 3 | * Visual Studio 2015 |
||
| 4 | |||
| 5 | * Install net-snmp an jump to 5. |
||
| 6 | |||
| 7 | or |
||
| 8 | |||
| 9 | Download latest version of net-snmp library |
||
| 10 | https://sourceforge.net/p/net-snmp/code/ci/master/tree/ |
||
| 11 | |||
| 12 | 2. Start nmake environment |
||
| 13 | "\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat" |
||
| 14 | |||
| 15 | 3. Build |
||
| 16 | C:\Users\rok\Downloads\net-snmp-latest\win32>build.bat ---> choose dynamic build |
||
| 17 | (1:dis,4:en,7:dis,8:dis,9:en,10:dis,11:en,12:en,13:dyn,14:en) |
||
| 18 | |||
| 19 | 4. Install (ce je potrebno?) |
||
| 20 | C:\Users\rok\Downloads\net-snmp-latest\win32>nmake install_devel |
||
| 21 | |||
| 22 | 5. Copy WIENER-CRATE-MIB.txt |
||
| 23 | C:\usr\share\snmp\mibs WIENER-CRATE-MIB.txt |
||
| 24 | |||
| 25 | 6. Copy C:\usr\include\net-snmp\net-snmp-config.h to instrument dir and |
||
| 26 | comment out: |
||
| 27 | /* |
||
| 28 | enum { |
||
| 29 | netsnmp_compile_time_uintptr_t_size_check |
||
| 30 | = sizeof(struct netsnmp_compile_time_uintptr_t_size_check_s { int:-!(sizeof(uintptr_t) == sizeof(void*)); }) |
||
| 31 | }; |
||
| 32 | */ |