On Tue, 2005-08-02 at 14:58 +0530, [EMAIL PROTECTED] wrote:
> I am using the net snmp apis(5.2.1) in C++ class,
> i tried to compile using g++ compiler 


> following errors are displayed while compiling,
> ====================
> snmpProxy.cc: In constructor `snmpProxy::snmpProxy()':
> snmpProxy.cc:65: `snmp_init' undeclared (first use this function).
> ===================

That's correct.
There is no routine 'snmp_init'


> I have included the header files,
> #include <net-snmp/net-snmp-config.h>
> #include <net-snmp/net-snmp-includes.h>
> in my class but it is unable to located snmp_init api.

That's correct.
There *is* no routine 'snmp_init'

You probably ought to be using 'init_snmp'

Dave


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to