RE: trap error message

2008-03-19 Thread Siva Prakash Reddy G
CTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, March 18, 2008 7:27 PM To: Siva Prakash Reddy G Cc: [email protected] Subject: Re: trap error message On 18/03/2008, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > >> Net-SNMP

Re: trap error message

2008-03-18 Thread Dave Shield
On 18/03/2008, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > >> 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

RE: trap error message

2008-03-18 Thread Siva Prakash Reddy G
MAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, March 17, 2008 5:43 PM To: Siva Prakash Reddy G Cc: [email protected] Subject: Re: trap error message On 17/03/2008, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > I don't understand first point that

Re: trap error message

2008-03-17 Thread Dave Shield
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

RE: trap error message

2008-03-17 Thread Siva Prakash Reddy G
sh Reddy. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, March 17, 2008 4:42 PM To: Siva Prakash Reddy G Cc: [email protected] Subject: Re: trap error message On 17/03/2008, Siva Prakash Reddy G <[EMAIL

Re: trap error message

2008-03-17 Thread Dave Shield
On 17/03/2008, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > I'm using make file to compile. > Please go thru the make file as shown below. > Two comments. a) You don't appear to be linking your application with the Net-SNMP library, This would explain why it's not pi

RE: trap error message

2008-03-17 Thread Siva Prakash Reddy G
PROTECTED] On Behalf Of Dave Shield Sent: Monday, March 17, 2008 4:07 PM To: Siva Prakash Reddy G Cc: [email protected] Subject: Re: trap error message On 17/03/2008, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > I have written trap code, after compiling I'

Re: trap error message

2008-03-17 Thread Dave Shield
On 17/03/2008, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote: > I have written trap code, after compiling I'm getting error messages > like as shown below. > > Trap.o: In function `send_ampMemUtilization_trap': > Trap.c:(.text+0x80): undefined reference to `snmp_varlist_add_variable'

trap error message

2008-03-17 Thread Siva Prakash Reddy G
Hi! I have written trap code, after compiling I'm getting error messages like as shown below. Trap.o: In function `send_ampMemUtilization_trap': Trap.c:(.text+0x80): undefined reference to `snmp_varlist_add_variable' Trap.c:(.text+0xa4): undefined reference to `snmp_v