代码拉取完成,页面将自动刷新
同步操作将从 openKylin/net-snmp 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
1. INTRODUCTION
Last revision 05/30/2003
This document describes the process to build net-snmp-5.0.8 stack for embedded linux
platforms based on the following Matsushita(Panasonic) processors family.
AM33,AM34
MN10300,MN103E0HRA
The same procedure can be followed to build the net-snmp stack for other Matsushita
family of processors also.
2. ENVIRONMENT
Host Machine : Linux 7.1 or later ( with nfs server or samba server installed ).
Target Machine : Am33 Based Embedded platform.
Cross-compiler : GNU compiler version 3.1 for AM33/AM34/MN10300/MN103E010HRA
am33_2.0-linux-gnu-gcc
Host-Target Setup : Samba mount or NFS mount
2. CONFIGURATION
The following configuration flags can be used to create Makefile.You can reaplce
some of the configuration flags according to your platform and compiler.
Perl support was NOT compiled in due to unavailability of perl support for
AM3X platform at this time.
The parameters passed to configure are as follows...
( you can down load the script configure.am33 script )
--with-cc=am33_2.0-linux-gnu-gcc
--host=i686-pc-linux-gnu
--target=am33-linux ( Can be removed, if it stops building process )
--disable-dlopen
--disable-dlclose
--disable-dlerror
--with-endianness=little
--with-openssl=no
--with-cflags="-g -mam33 -O2 -static"
--oldincludedir=./usr/local
--prefix=./usr/local
--exec-prefix=./usr/local
--with-persistent-directory=./usr/local
These parameters passed are depending on the capabilities available for the
AM33/AM34 development environment at the time of build. These parameter can be
changed depending on the avialable capabilities and desired preferences.
You can use the below shell script directly to create Makefiles and other files.
This script also insttals all binaries ,libraries in usr directory in the directory
in which this scrip executed.
# configure.am33
#--------------------------------------------------------------------------
./configure --with-cc=am33_2.0-linux-gnu-gcc --host=i686-pc-linux-gnu \
--disable-dlopen --target=am33-linux --disable-dlclose --disable-dlerror \
--with-endianness=little --with-openssl=no --with-cflags="-g -mam33 -O2 -static" \
--oldincludedir=./usr/local --prefix=./usr/local --exec-prefix=./usr/local \
--with-persistent-directory=./usr/local
make
make install
#--------------------------------------------------------------------------
2. INSTALLATION
Find a partition with 60 Mb available space which will be mounted on to target machine.
Copy or ftp the binary to this location ( copy entire usr directory tree ).
Copy net-snmp configuration files from host machine (.snmp directory) on to target / directory.
snmp configuration files can be created on host machine by running sbmpconf command. Make sure
that host is using snmpconf from net-snmp-5.0.8 version.
-:ON AM3X target Shell :-
Mount the above directory on AM3X platform either using NFS or sambs clients on target machine.
If you are running a previous version, stop the daemon
ps -ef | grep snmp
will return something like:
root 17736 1 - Jan 26 ? 0:00 /usr/local/sbin/snmpd
the PID is 17736, so you need to type
kill {PID}
in our example this would be
kill 17736.
cd /usr/local/sbin
./snmpd
2. TESTING
You will need to know your SNMP community. For this example, we will use "public".
snmpwalk -v 2c -m ALL -c public -t 100 localhost .1.3 > snmpwalk.txt
more snmpwalk.txt
This should return a considerable amount of output.
3. ISSUES
You may not see correct target name in the build summary. Just ignore it.
Please refer net-snmp documentation for more information...
Srinivasa Rao Gurusu
Engineer
Panasonic Semiconductor Development Center ( PSDC )
gurusus@research.panasonic.com
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。