|
Hello,
I'm using VC++ 6, Windows 2000,
and I doesn't have SDK istalled.
I had net-snmp-5.1.2 working
with no problem but I would like to use mib2c so I need 5.2 Building the
net-snmp-5.2 agent using win32.dws
the following errors are reported
C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(679) : error C2039:
'wProductType' : is not a member of
'_OSVERSIONINFOEXA'
C:\Archivos de programa\Microsoft Visual Studio\VC98\INCLUDE\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA' C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(679) : error C2065: 'VER_NT_WORKSTATION' : undeclared identifier C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(682) : error C2039: 'wSuiteMask' : is not a member of '_OSVERSIONINFOEXA' C:\Archivos de programa\Microsoft Visual Studio\VC98\INCLUDE\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA' C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(682) : error C2065: 'VER_SUITE_PERSONAL' : undeclared identifier C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(687) : error C2039: 'wProductType' : is not a member of '_OSVERSIONINFOEXA' C:\Archivos de programa\Microsoft Visual Studio\VC98\INCLUDE\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA' C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(687) : error C2065: 'VER_NT_SERVER' : undeclared identifier C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(689) : error C2039: 'wSuiteMask' : is not a member of '_OSVERSIONINFOEXA' C:\Archivos de programa\Microsoft Visual Studio\VC98\INCLUDE\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA' C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(689) : error C2065: 'VER_SUITE_DATACENTER' : undeclared identifier C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(691) : error C2039: 'wSuiteMask' : is not a member of '_OSVERSIONINFOEXA' C:\Archivos de programa\Microsoft Visual Studio\VC98\INCLUDE\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA' C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(691) : error C2065: 'VER_SUITE_ENTERPRISE' : undeclared identifier C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(693) : error C2039: 'wSuiteMask' : is not a member of '_OSVERSIONINFOEXA' C:\Archivos de programa\Microsoft Visual Studio\VC98\INCLUDE\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA' C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(693) : error C2065: 'VER_SUITE_BLADE' : undeclared identifier C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(699) : error C2039: 'wSuiteMask' : is not a member of '_OSVERSIONINFOEXA' C:\Archivos de programa\Microsoft Visual Studio\VC98\INCLUDE\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA' C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(701) : error C2039: 'wSuiteMask' : is not a member of '_OSVERSIONINFOEXA' C:\Archivos de programa\Microsoft Visual Studio\VC98\INCLUDE\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA' C:\net-snmp-5.2\agent\mibgroup\mibII\system_mib.c(707) : error C2039: 'wSuiteMask' : is not a member of '_OSVERSIONINFOEXA' C:\Archivos de programa\Microsoft Visual Studio\VC98\INCLUDE\winbase.h(7998) : see declaration of '_OSVERSIONINFOEXA' It looks like I have
to use the Platform SDK because the wProductType member is not defined in
OSVERSIONINFOEX structure from WINBASE.h VC98,
but I would prefer not having SDK installed.
Could you tell me if there is any other way to solve
this?
Thanks in advance,
Estefan�a Guerrero
|
- 5.2 Build error Estefanía Guerrero
- Re: 5.2 Build error Alex Burger
