Title: RE: Error while running subAgent

Forgot to cc to mailing list..


-----Original Message-----
From:   Asawari Dinesh Teredesai (WT01 - TELECOM & INTER-NETWORKING SOLUTIONS)
Sent:   Fri 7/2/2004 10:09 PM
To:     Dave Shield
Cc:    
Subject:        RE: Error while running subAgent


Subagent code has been half-written by somebody else (my ex-teammate). I'm trying to give it proper shape.

You are correct. Subagent code was previously based on UCD-SNMP.

Now I'm trying the code with net-SNMP 5.1
I'm working on Red hat Linux 8.0.
Net-snmp I configured myself.

I'm attaching separate file to mention which steps I followed to configure, make net-SNMP.

Yes,  ucd-snmp-4.2.1 was installed previously.
And I also have a doubt that it's pointing to older version i.e. UCD-SNMP.

Also I'm sending you my main Makefile as an attachment.

Thanks
Asawari



-----Original Message-----
From:   Dave Shield [mailto:[EMAIL PROTECTED]]
Sent:   Fri 7/2/2004 9:49 PM
To:     Asawari Dinesh Teredesai (WT01 - TELECOM & INTER-NETWORKING SOLUTIONS)
Cc:     [EMAIL PROTECTED]
Subject:        Re: Error while running subAgent

> I'm getting following error while running subAgent file while working
> on net-SNMP 5.1.
>
>  I'm running subAgent as follows:
>
>  ./subAgent


Where did the code for the subagent come from - is it your own,
or from somewhere else?   How did you compile and link it?
What libraries is it picking up?    (Try "ldd subAgent")


> Error message---
>
> "./subAgent: relocation error: ./subAgent: undefined symbol:
>     netsnmp_ds_set_boolean"

You say you're using Net-SNMP v5.1  -  What O/S (and version)?
Did you compile this yourself, or was it pre-installed?

If you did compile it yourself, was there another version of
Net-SNMP (or UCD-SNMP) installed previously?

If it's complaining about 'netsnmp_ds_set_boolean',
I'm wondering whether it might be picking up a UCD-based library.

Dave







Attachment: Makefile_1
Description: Makefile_1

Attachment: makeRules_1
Description: makeRules_1

Attachment: log_descr
Description: log_descr

Reply via email to