From: Robert P. <rob...@ya...> - 2009-09-25 08:56:23
|
The build on Windows XP of net-snmp 5.4.2.1 doesn't work. My configuration: - Windows XP SP2 - VC++ V6.0 SP6 - Platform SDK February 2003 When compiling manually using the win32sdk project, I get the following error message: Compiling... snmpbulkwalk.c Linking... LINK : fatal error LNK1181: cannot open input file "netsnmp.lib" Error executing link.exe. The automatic build using the build.bat file doesn't work either: 1. OpenSSL support: disabled 2. Platform SDK support: enabled 3. Install path: E:/net-snmp-5.4.2.1/win32 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 (requires SDK): disabled 10. winExtDLL agent (requires SDK): disabled 11. Link type: static 12. Install development files disabled error messages: ..\..\snmplib\snmpTCPDomain.c(187) : error C2065: 'socklen_t' : undeclared identifier ..\..\snmplib\snmpTCPDomain.c(187) : error C2146: syntax error : missing ';' before identifier 'farendlen' ..\..\snmplib\snmpTCPDomain.c(187) : error C2065: 'farendlen' : undeclared identifier ..\..\snmplib\snmpTCPDomain.c(188) : error C2143: syntax error : missing ';' before 'type' ..\..\snmplib\snmpTCPDomain.c(217) : error C2065: 'str' : undeclared identifier ..\..\snmplib\snmpTCPDomain.c(217) : warning C4047: '=' : 'int ' differs in levels of indirection from 'char *' ..\..\snmplib\snmpTCPDomain.c(219) : warning C4022: 'free' : pointer mismatch for actual parameter 1 ..\..\snmplib\snmpTCPDomain.c(258) : error C2143: syntax error : missing '{' before '*' ..\..\snmplib\snmpTCPDomain.c(260) : error C2371: 'netsnmp_tcp_transport' : redefinition; different basic types ..\..\include\net-snmp/library/snmpTCPDomain.h(28) : see declaration of 'netsnmp_tcp_transport' ..\..\snmplib\snmpTCPDomain.c(412) : warning C4133: 'return' : incompatible types - from 'struct netsnmp_transport_s *' to 'int *' NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~4\VC98\BIN\NMAKE.EXE' : return code '0x2' Stop. Could someone please help me to find the source of this issue? Yours, Robert ************************************************* Robert Pletscher mail to: Rob...@ya... |