On mån, 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: > undefined 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;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
