[AGENT++] errors building snmp console application - solved

Sushma sushma at uh.edu
Tue Jun 22 00:25:48 CEST 2004


Jochen!
I am able to use the snmpNext console application successfully.
Thanks to you for all the support.

My idea is to familiarize with the security and access control features of SNMPv3.
the different message exchanges using USM, 
User configurations, vacmSecuritytogrouptable, vacmAccesstable.

Could you give me some idea as to how do I get started?
Can I run the agent and manager on the same system?

What different tests I can do to differentiate the SNMPv3 to be enhanced in terms of
authentication, privacy and administration?

Regards,
Sushma.

-----Original Message-----
From: agentpp-bounces at agentpp.org [mailto:agentpp-bounces at agentpp.org]On
Behalf Of Jochen Katz
Sent: Monday, June 21, 2004 3:56 PM
To: agentpp at agentpp.org
Subject: Re: [AGENT++] errors building snmp console application


Hello again ;-)

these errors indicate that the headers of an old snmp++ v2.8 are 
included. Remove all occurences to d:\oo_snmp\... from your project and 
add C:\msvc6\snmp++\... instead.

Regards,
   Jochen


> --------------------Configuration: console_snmpnext_win32 - Win32 Debug--------------------
> Compiling...
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
> cl /MTd /W3 /Gm /GX /ZI /Od /I "include" /I "..\libdes" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 
>    "C:\msvc6\snmp++\snmp_pp_getnext\snmpNext.cpp"
> snmpNext.cpp
> c:\msvc6\snmp++\snmp_pp_getnext\snmpnext.cpp(104) : error C2039: 'socket_startup' : is not a member of 'Snmp'
>         d:\oo_snmp\include\snmp_pp.h(105) : see declaration of 'Snmp'
> c:\msvc6\snmp++\snmp_pp_getnext\snmpnext.cpp(104) : error C2065: 'socket_startup' : undeclared identifier
> c:\msvc6\snmp++\snmp_pp_getnext\snmpnext.cpp(260) : error C2039: 'get_ip_version' : is not a member of 'UdpAddress'
>         d:\oo_snmp\include\address.h(279) : see declaration of 'UdpAddress'
> c:\msvc6\snmp++\snmp_pp_getnext\snmpnext.cpp(260) : error C2039: 'version_ipv6' : is not a member of 'Address'
>         d:\oo_snmp\include\address.h(114) : see declaration of 'Address'
> c:\msvc6\snmp++\snmp_pp_getnext\snmpnext.cpp(260) : error C2065: 'version_ipv6' : undeclared identifier
> c:\msvc6\snmp++\snmp_pp_getnext\snmpnext.cpp(260) : error C2661: 'Snmp::Snmp' : no overloaded function takes 3 parameters
> c:\msvc6\snmp++\snmp_pp_getnext\snmpnext.cpp(380) : error C2039: 'socket_cleanup' : is not a member of 'Snmp'
>         d:\oo_snmp\include\snmp_pp.h(105) : see declaration of 'Snmp'
> c:\msvc6\snmp++\snmp_pp_getnext\snmpnext.cpp(380) : error C2065: 'socket_cleanup' : undeclared identifier
> Error executing cl.exe.
> snmpNext.exe - 8 error(s), 0 warning(s)
> 
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://agentpp.org/mailman/listinfo/agentpp
> 
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://agentpp.org/mailman/listinfo/agentpp



More information about the AGENTPP mailing list