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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|