Troubles using build.bat (net-SNMP)

This is a discussion on Troubles using build.bat (net-SNMP) within the SNMP Coders forums, part of the Networking and Network Related category; Hi! I've read several messages about building Net-SNMP Windows version, but I' have this problem: ...\..\snmplib\snmpTCPDomain.c(...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-29-2007
vincenzobonvino@tin.it
 
Posts: n/a
Default Troubles using build.bat (net-SNMP)

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 vincenzobonvino@tin.it at openSubscriber.com
http://www.opensubscriber.com/messag...net/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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0