Re: I used the example downloaded from net-snmp official website,

This is a discussion on Re: I used the example downloaded from net-snmp official website, within the SNMP Coders forums, part of the Networking and Network Related category; On m=E5n, 2008-04-21 at 12:04 +0800, Tewen Hsieh wrote: > Hi, > = > I want to ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-21-2008
Magnus Fromreide
 
Posts: n/a
Default Re: I used the example downloaded from net-snmp official website,


On m=E5n, 2008-04-21 at 12:04 +0800, Tewen Hsieh wrote:
> Hi,
> =


> I want to write a dynamically loadable object.
> I downloaded the example (including: Makefile,
> NET-SNMP-TUTORIAL-MIB.txt, nstAgentPluginObject.h,
> nstAgentPluginObject.c) from net-snmp offical website.
> I did it step by step as following:


I have just worked through the tutorial and it worked for me.
=

> But I got an error in step 6. It showed "SNMP table:
> UCD-DLMOD-MIB::dlmodTable
> =


> dlmodName
> dlmodPath
> dlmodError dlmodStatus
> nstAgentModuleObject /home/net-snmp-module-example/nstAgentModuleObject.=

so dlopen failed: /home/net-snmp-module-example/nstAgentModuleObject.so: un=
defined symbol: snmp_get_do_debugging error
> ".


This sounds like a version mismatch - could you please make sure that
the snmpd that is running is of the same version as the libraries you
used to compile your shared object.

It would also be helpful if you could tell which version you are using.

/MF




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference =

Don't miss this year's exciting event. There's still time to save $100. =

Use priority code J8TL2D2. =

http://ad.doubleclick.net/clk;198757....sun.com/java=
one
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:18 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0