Hi!
I've read several messages about building Net-SNMP Windows version, but I' have
this problem:
..\..\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~3\VC98\BIN\NMAKE.EXE' : return
code '0x2'
Stop.
I've installed these components on my PC:
net-SNMP 5.4.1;
Visual Studio C++ 6.0;
gnu_regex.exe;
Platform SDK installed;
Activestate ActivePerl 5.8;
When I installed gnu_regex.exe, I put:
gnu_regex.dll in c:\windows\system32;
gnu_regex.lib in c:\programmi\Microsoft Visual Studio\lib;
regex.h in c:\programmi\Microsoft Visual Studio\include.
I've,also, make run "register PSDK directories with Visual Studio" but, I've
noticed that it had not included directories, so , I've done it by myself
including:
C:\Programmi\Microsoft Visual Studio\VC98\mfc\include;
C:\Programmi\Microsoft Visual Studio\VC98\include;
C:\Programmi\Microsoft Visual Studio\VC98\ATL\Include;
C:\Programmi\Microsoft Platform SDK for Windows Server 2003 R2\Include;
C:\Programmi\Microsoft Platform SDK for Windows Server 2003 R2\Include\.;
C:\Programmi\Microsoft Platform SDK for Windows Server 2003 R2\Lib;
C:\Programmi\Microsoft Visual Studio\VC98\atl\include\.;
C:\Programmi\Microsoft Visual Studio\VC98\mfc\include.\;
C:\Programmi\Microsoft Visual Studio\VC98\include.\;
But, at the moment I have the same problem I've exposed.
Can anyone help me guiding me in building Net-SNMP?
I need a detailed description of procedure in order to avoid that problem.
Best Regards!
Enzo
--
This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com
http://www.opensubscriber.com/messages/[email protected]/topic.html
-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders