Hi Dave,

I am sorry. The error message should be

dlopen failed: /home/wpWlsCore.so: undefined symbol:
       netsnmp_create_handler_registration

 dlopen failed: /home/wpWlsBridge.so: undefined symbol:
       netsnmp_create_handler_registration


iTAS Tewen


永鈦鑫   iTAS Corporation
新竹科學園區工業東三路6號
NO. 6, Industry E. Rd. III, Science Park, Hsin-Chu, Taiwan 300, R.O.C.
Tel:03-6662595 Ext.1208
E-mail:[EMAIL PROTECTED]
----- Original Message ----- 
From: "Dave Shield" <[EMAIL PROTECTED]>
To: "Tewen Hsieh" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Monday, May 19, 2008 4:35 PM
Subject: Re: about net-snmp-5.1.1 cross compile


> 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 message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
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