ts-7000
[Top] [All Lists]

[ts-7000] Re: problem ragarding snmp install

To:
Subject: [ts-7000] Re: problem ragarding snmp install
From: "mohit.khanna" <>
Date: Fri, 17 Jul 2009 15:03:32 -0000
I had a real tough time installing snmp on my TS-7250 board..

I used the net-snmp-5.4.2.1from http://www.net-snmp.org/download.html,
Downloaded...and built the binaries....

I think building is pretty straight forward if you configure it right....in 
case come libraries are missing, u can get them from the ARM CD which comes 
with the board.

This is how I configured it..

export CXX=arm-unknown-linux-gnu-g++

export ac_cv_func_malloc_0_nonnull=yes;

./configure --disable-snmpv2c --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


After configuring simple do a,

make
make install

You would want to change the install prefix and path for your include dir. Once 
you have built the binaries using a cross compiler, simply copy them to the 
right place on the board and add the path of binaries in the PATH variable of 
the board.

All the best.

Mohit.



------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU