2008/5/19 Tewen Hsieh <[EMAIL PROTECTED]>:
> I have tried make LDFLAGS="-all-static"
> When I executed "ldd /not/usr/sbin/snmpd",
>   it showed "not a dynameic executable".

That would be correct, if you've compiled it statically.


> When I load wpWlsCore.so and wpWlsBridge.so, it showed following messages:
> dlopen failed: /home/wpWlsCore.so: undefined symbol:
>       netsnmp_create_handler_registn

> dlopen failed: /home/wpWlsBridge.so: undefined symbol:
>       netsnmp_create_handler_regin

That looks as if the source code for these two modules may have been slightly
mangled.  The messages are quite correct - there are no such routines.


Have a look at the source for these two modules, and look for mention
of "netsnmp_create_handler_{anything}".   If you can spot either of
these strings, try changing them to read

    netsnmp_create_handler_registration

and recompile the dynamic modules.


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to