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
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
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
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
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
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
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'
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'
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