Hi Giulio,
Thanks for your reply. I am using svn version of the petalinux. I put a line of:
dir_$(CONFIG_USER_NETSNMP_SNMPD) += net-snmp
into petalinux-dist/user/Makefile and it helps to get the compilation completed.
For mini-agent I found that I don't need to enable:
CONFIG_LARGE_ALLOCS
I am still having problems with running net-snmp related to net-snmp configuration. I get these messages from running net-snmp:
# /bin/snmpd -f -Le -d &
53 # Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Warning: no access control information configured. It's unlikely this agent can serve any useful purpose in this state. Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent. Creating directory: /var/net-snmp NET-SNMP version 5.2.1 I have few questions on the net-snmp side:
1) Do I need to run ./configure in the /petalinux-dist/user/net-snmp directory? (I do this on my Linux workstation). 1a) What parameters do I feed to the ./configure script? 2) Where do I put snmpd.conf?
The net-snmp related message from the build alone has ~400 lines.
Thanks for help!
David
|