Nourdeh, Allen (US SSA) wrote:
Yes, I did the Registration... it didn't give any confirmation output though! So, I run it again. It appeared as if nothing was happening!! Does it mean that the registeration went OK?
Allen
It does not report anything back when you register or unregister. That would make too much sense.
To see if it has registered, do this:
-Open up Microsoft Visual C++ 6.0 -Click Tools - Options -Click Directories
Do you see 'C:\Program Files\Microsoft SDK\include' listed?
If you are not using C++ 6.0, then the menu option may have moved. What version are you using? Also, are you using the Feb 2003 SDK?
Alex
-----Original Message-----
From: Alex Burger [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 11:01 AM
To: Nourdeh, Allen (US SSA)
Cc: [EMAIL PROTECTED]
Subject: Re: build.bat error
Nourdeh, Allen (US SSA) wrote:
But I did install the MS Platform SDK! And I toggled option 1.Platform SDK support to "enabled"!! I followed the instructions in "Installing Platform SDK" section in README.win32. Do I need to restart after installing SDK?
I don't think you have to restart but it may be a good idea. Did you register the SDK with MSVC? Click Start - Programs - Microsoft Platform
SDK February 2003 - Visual Studio Registration - Register PSDK Directories with Visual Studio.
Alex
Allen
-----Original Message-----
From: Alex Burger [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 9:59 AM
To: Nourdeh, Allen (US SSA)
Cc: [EMAIL PROTECTED]
Subject: Re: build.bat error
Nourdeh, Allen (US SSA) wrote:
I am trying to build the net-snmp-5.2.rc2 via MS visual C++ build
script
"build.bat" and I am getting the following compile error when building
the main package. Am I missing a patch or something?
Edit win32\net-snmp\net-snmp-config.h and net-snmp-config.h.in and change the line:
#define HAVE_SOCKLEN_T 1
to:
/* #define HAVE_SOCKLEN_T 1 */
and it should compile.
The problem is that you do not have the SDK installed and you (correctly) selected to compile the non-SDK version, but the above
line
assumes the SDK is installed.
I will try to fix this after the 5.2 release. I will add a note about
this to the README.win32 for 5.2.
Alex
cl.exe /nologo /MD /W3 /GX /O2 /I "." /I ".." /I "..\..\snmplib" /I "..\.." /I "..\..\include" /D "WIN32" /D "NDEBUG"
/D
"_CONSOLE" /D "_MBCS" /Fp".\release\libsnmp.pch" /YX /Fo".\release\\" /Fd".\release\\" /FD /c ..\..\snmplib\snmpTCPDomain.c
snmpTCPDomain.c
..\..\snmplib\snmpTCPDomain.c(167) : error C2065: 'socklen_t' : undeclared identifier
..\..\snmplib\snmpTCPDomain.c(167) : error C2146: syntax error :
missing
';' before identifier 'farendlen'
..\..\snmplib\snmpTCPDomain.c(167) : error C2065: 'farendlen' : undeclared identifier
..\..\snmplib\snmpTCPDomain.c(168) : error C2143: syntax error :
missing
';' before 'type'
..\..\snmplib\snmpTCPDomain.c(196) : error C2065: 'string' :
undeclared
identifier
..\..\snmplib\snmpTCPDomain.c(196) : warning C4047: '=' : 'int '
differs
in levels of indirection from 'char *'
..\..\snmplib\snmpTCPDomain.c(198) : warning C4022: 'free' : pointer mismatch for actual parameter 1
..\..\snmplib\snmpTCPDomain.c(219) : warning C4013: 'netsnmp_sock_buffer_set' undefined; assuming extern returning int
..\..\snmplib\snmpTCPDomain.c(237) : error C2143: syntax error :
missing
'{' before '*'
..\..\snmplib\snmpTCPDomain.c(239) : 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(389) : 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'
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
