[AGENT++] errors building snmp console application
Jochen Katz
katz at agentpp.com
Mon Jun 21 22:56:06 CEST 2004
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
>
More information about the AGENTPP
mailing list