This is a multi-part message in MIME format.

--===============0765969544==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_000A_01C8B1F6.E2F494D0"

This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C8B1F6.E2F494D0
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable

Hi,

I tried to cross compile net-snmp-5.1.1, but I failed.
My steps were as following:

step 1: ./configure --target=3Dmips-linux --with-cc=3Dmips2_fp_be-gcc --hos=
t=3Dmips --with-endianness=3Dbig --prefix=3D/not/usr/ --with-install-prefix=
=3D/tmp
step 2: make
step 3: make install
step 4: cd /tmp
step 5: tar cvf net-snmp-target.tar not

step 6: Then copy the tar file to my target, and on my target
step 7: cd /
step 8: tar xvf net-snmp-target.tar

Then I tried to run snmpd on my target, but I got an error message: could n=
ot find libcrypto.so.0.9.7 bala bala ...



Question 1: How can I cross compile net-snmp as static link ? I mean I can =
run snmpd without moving libcrypto.so.0.9.7 to my target(/usr/lib). Is ther=
e any parameter can be set in ./configure phase to resolve this problem?

Question 2: Although my snmpd can be executed. It seems no response from sn=
mpd when I send a snmp request to it (I used "netstat -a" to check it, port=
161 is opened, but its state is not listening.). I am sure my snmpd.conf f=
ile is correct. So is there any thing wrong in my cross compile procedure? =
Or I missed something important when cross compiling?


Thanks,



iTAS Tewen







=A5=C3=DCg=F8=CA iTAS Corporation
=B7s=A6=CB=AC=EC=BE=C7=B6=E9=B0=CF=A4u=B7~=AAF=A4T =B8=F46=B8=B9
NO. 6, Industry E. Rd. III, Science Park, Hsin-Chu, Taiwan 300, R.O.C.
Tel:03-6662595 Ext.1208
E-mail:tewen.hsieh@itas.com.tw
--=20
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------=_NextPart_000_000A_01C8B1F6.E2F494D0
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable








Hi,

 

I tried to cross compile net-snmp-5.1.1, but I failed.

My steps were as following:

 

step 1: ./configure --target=3Dmips-linux --with-cc=3Dmips2_fp_be-gcc=
=20
--host=3Dmips --with-endianness=3Dbig --prefix=3D/not/usr/=20
--with-install-prefix=3D/tmp

step 2:  make
step 3:  make install
step 4:  cd=
=20
/tmp
step 5: tar cvf net-snmp-target.tar not

step 6: Then copy th=
e tar=20
file to my target, and on my target<=
BR>step=20
7: cd /
step 8: tar xvf net-snmp-target.tar

 

Then I tried to run snmpd on my target, but I got an error message: ONT=20
color=3D#ff0000>could not find libcrypto.so.0.9.7 bala bala ...

 

 

 

Question 1: How can I cross compile net-snmp as static link ? I mean I=
can=20
run snmpd without moving libcrypto.so.0.9.7 to my target(/usr/lib). Is=
=20
there any parameter can be set in ./configure phase to resolve this=20
problem?

 

Question 2: Although my snmpd can be executed. It seems no response fr=
om=20
snmpd when I send a snmp request to it (I used "netstat -a" to check it, po=
rt=20
161 is opened, but its state is not listening.). I am sure my snmpd.conf fi=
le is=20
correct. So is there any thing wrong in my cross compile procedure? Or I mi=
ssed=20
something important when cross compiling?

 

 

Thanks,

 

 

 

iTAS Tewen

 

 





 

=A5=C3=DCg=F8=CA   iTAS Corporation
=B7s=
=A6=CB=AC=EC=BE=C7=B6=E9=B0=CF=A4u=B7~=AAF=A4T=B8= F46=B8=B9
NO. 6,=20
Industry E. Rd. III, Science Park, Hsin-Chu, Taiwan 300,=20
R.O.C.
Tel:03-6662595=20
Ext.1208
E-mail:tewen.hsieh@itas.com.tw

--=20

This message has been scanned for viruses and

dangerous content by
MailScanner, and is

believed to be clean.


------=_NextPart_000_000A_01C8B1F6.E2F494D0--



--===============0765969544==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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...un.com/javaone
--===============0765969544==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--===============0765969544==--