After much head banging ..I was able to cross compile net-snmp 5.4.2.1 for Arm
using the cross tools.
Posting it..just in case someone finds it useful..
I used the following configure command
./configure --disable-snmpv2c --disable-applications --disable-des
--disable-privacy --disable-md5 --without-openssl --disable-manuals
--disable-shared --disable-mib-loading --disable-embedded-perl
--without-perl-modules --with-cflags="-s -static -O2 -Dlinux"
--with-cc=arm-unknown-linux-gnu-gcc --with-ranlib=arm-unknown-linux-gnu-ranlib
--with-ar=arm-unknown-linux-gnu-ar --with-endianness=big --with-defaults
--build=i386-linux --host=arm-unknown-linux-gnu
--with-install-prefix=/home/freedm/Desktop/Freedm/net-snmp-5_arm/snmp_install_dir
--includedir=/opt/crosstool/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include
--with-sys-contact="" -with-sys-location="3042-Eb2"
--with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|