Re: How to cross compile NET-SNMP

This is a discussion on Re: How to cross compile NET-SNMP within the SNMP Coders forums, part of the Networking and Network Related category; In message <dd0a3d700512090854g234f7aa3gd629baf913ab6e52@mail .gmail.com> = you wrote: > > I have tried ELDK net-snmp binaries, i ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-12-2005
Wolfgang Denk
 
Posts: n/a
Default Re: How to cross compile NET-SNMP

In message <dd0a3d700512090854g234f7aa3gd629baf913ab6e52@mail .gmail.com> =
you wrote:
>
> I have tried ELDK net-snmp binaries, i have added all missing shared li=

bs,
> and i get:
>=20
> / # snmpd -H
> snmpd: error in loading shared libraries
> /lib/libm.so.6: undefined symbol: __sim_disabled_exceptions
>=20
> BTW, snmpd ask for libcrypto.so.0.9.8, but ELDK distributes
> libcrypto.so.0.9.7a, i have done a symlink as a workarround.


You must have done something wrong, like mixing different binary
environments. The "snmpd" as shipping with ELDK 3.1.1 references
"libcrypto.so.4" which - in the ELDK context, resolves as
libcrypto.so.0.9.7a:

-> cd /opt/eldk/ppc_8xx
-> ls -l usr/sbin/snmpd
-rwxr-xr-x 1 root root 40644 Mar 7 2005 usr/sbin/snmpd
-> ppc_8xx-ldd usr/sbin/snmpd
libnetsnmpagent.so.5 =3D> /opt/eldk/ppc_8xx/usr/lib/libnetsnmpage=
nt.so.5
libnetsnmpmibs.so.5 =3D> /opt/eldk/ppc_8xx/usr/lib/libnetsnmpmibs=
..so.5
libnetsnmphelpers.so.5 =3D> /opt/eldk/ppc_8xx/usr/lib/libnetsnmph=
elpers.so.5
libnsl.so.1 =3D> /opt/eldk/ppc_8xx/lib/libnsl.so.1
libnetsnmp.so.5 =3D> /opt/eldk/ppc_8xx/usr/lib/libnetsnmp.so.5
libdl.so.2 =3D> /opt/eldk/ppc_8xx/lib/libdl.so.2
libz.so.1 =3D> /opt/eldk/ppc_8xx/usr/lib/libz.so.1
libcrypto.so.4 =3D> /opt/eldk/ppc_8xx/lib/libcrypto.so.4
libm.so.6 =3D> /opt/eldk/ppc_8xx/lib/libm.so.6
libc.so.6 =3D> /opt/eldk/ppc_8xx/lib/libc.so.6
ld.so.1 =3D> /opt/eldk/ppc_8xx/lib/ld.so.1
libgssapi_krb5.so.2 =3D> /opt/eldk/ppc_8xx/usr/kerberos/lib/libgs=
sapi_krb5.so.2
libkrb5.so.3 =3D> /opt/eldk/ppc_8xx/usr/kerberos/lib/libkrb5.so.3
libk5crypto.so.3 =3D> /opt/eldk/ppc_8xx/usr/kerberos/lib/libk5cry=
pto.so.3
libcom_err.so.3 =3D> /opt/eldk/ppc_8xx/usr/kerberos/lib/libcom_er=
r.so.3
-> ls -l lib/libcrypto.so.4
lrwxrwxrwx 1 root root 19 Aug 1 03:12 lib/libcrypto.so.4 -> libcrypto.s=
o.0.9.7a

Also, there are no unresolved symbols.

I guess you used the ELDK binary in a different environment; either
you install the ELDK binaries and libraries, or you have to recompile
the binary in *your* enironment from the sources.

> Should i just try to build ELDK for my target ?


That would probably be overkill.

Best regards,

Wolfgang Denk

--=20
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The universe is all a spin-off of the Big Bang.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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 Search this Thread
Search this Thread:

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

BB 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 08:02 PM.


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