On 17/03/2008, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > I don't understand first point that is. > >>> a) you don't appear to be linking your application with the >>> Net-SNMP library
The Net-SNMP API routines are collected together into the library 'libnetsnmp'. So if you are writing an application using these routines, you need to link it with this library, Your makefile does not seem to link in *any* extra libraries, so won't pick up these calls. > Inside send_ampTempHighMark_trap( int tempVal ) this function,three > net-snmp > Routines I am using that is > 1. snmp_varlist_add_variable > 2. send_v2trap You cannot use this routine in a general application. It is only available when developing a MIB module within the agent. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
