Hi,
I tried to cross compile net-snmp-5.1.1, but I failed.
My steps were as following:
step 1: ./configure --target=mips-linux --with-cc=mips2_fp_be-gcc --host=mips
--with-endianness=big --prefix=/not/usr/ --with-install-prefix=/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 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 run
snmpd without moving libcrypto.so.0.9.7 to my target(/usr/lib). Is there 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 snmpd
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 file is
correct. So is there any thing wrong in my cross compile procedure? Or I missed
something important when cross compiling?
Thanks,
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]
--
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 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