minimized embedded arm installation

Christopher Friedt <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello everyone,

I'm trying to compile as few features into net-snmp as possible to put
it onto an arm board.

So far i have the following files (after strip):

libnetsnmp.so.15.0.0         - 408 kB
libnetsnmpmibs.so.15.0.0     - 72  kB
libnetsnmphelpers.so.15.0.0  - 112 kB

Also, for snmpd, i also have the following:

libnetsnmpagent.so.15.0.0    - 124 kB
snmpd                        - 24  kB

=======================================
                               740 kB

my configure line was this:

CC=arm-linux-gcc ./configure --target=arm-9tdmi-linux-gnu
--build=i686-pc-linux-gnu --host=arm-9tdmi-linux-gnu
--prefix=$PWD/../build --enable-mini-agent --disable-manuals
--disable-scripts --enable-reentrant --disable-embedded-perl
--enable-static=no  --without-rpm --with-out-transports="Unix Callback"
--with-transports="UDP TCP"  --with-security-modules="usm"
--with-mib-modules="" --with-endianness=big --with-sys-contact=""
--with-sys-location="" --with-logfile="none" --with-perl-modules=""
--disable-mib-loading  --disable-snmpv1 --disable-snmpv2c

The configuration summary that I was provided with is this:

---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------

  SNMP Versions Supported:    3
  Net-SNMP Version:           5.4
  Building for:               linux
  Network transport support:  UDP TCP
  SNMPv3 Security Modules:    usm
  Agent MIB code:             default_modules =>  snmpv3mibs
mibII/snmp_mib mibII/system_mib mibII/sysORTable mibII/vacm_vars
utilities/execute
  Embedded Perl support:      disabled
  SNMP Perl modules:          building -- not embeddable
  SNMP Python modules:        disabled
  Authentication support:     MD5 SHA1
  Encryption support:         DES AES

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

After deleting duplicates of snmpusm.c snmpusm.o snmpusm.lo in the
snmplib directory (there was already a bug sumitted for that, and
fixed), and then completely removing the perl subdirectory, and
commenting out all related perl Makefile stuff (apparently saying
--without-perl or --disable-perl, along with the options above wasn't
clear), I'm left with what I assume is a minimal installation (after
stripping of course).

The only purpose that one of the developers here needs snmp for (and I
cannot vouch for the viability of this, as i've never linked to snmp
before myself) is to change the ip address of a board and also to change
the hostname. I suppose that having the crptyo routines linked in
doesn't really change the size, since it's not statically linked.

Could i remove a couple of 'mibs' or is this as small as it gets for
this particular purpose?


Thanks,


Chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.