Hi,
I use net-snmp 5.4.2.1 version, the ENDIAN=big and with following flags
for configure:
$(LTOP)/net-snmp-5.4.2.1/configure --with-install-prefix=$(BUILT_BASE)\
--prefix=/ --host=$(CCPREFIX) --target=$(CCPREFIX)
--disable-perl\
--disable-embedded-perl --disable-perl-cc-checks \
--without-perl-modules --with-endianness=$(ENDIAN)\
--with-default-snmp-version="3"
--with-sys-contact="contact"\
--with-sys-location="location" --with-logfile="path" \
--with-persistent-directory="path"
and the size of the snmpd is:
# ls --size -l
32 -rwxr-xr-x 1 beyre engr 29875 2009-01-13 14:25 snmpd.
Bernadette Eyre
On Fri, 2009-01-16 at 02:51 -0800, Amit Kumar wrote:
> Hi All,
> I am trying to reduce the snmpd footprints in my box but still it
> is comming as 4.3 MB .
>
> can any body please help me out to make it 3 MB . the configure options i am
> using is :
>
> $(Q)cd $(PROJECT_BUILD_DIR)/$(NET_SNMP_PKG) && ./configure
> --target=$(TARGET_TRIPLET) \
> --host=$(HOST_TRIPLET) \
> --build=$(BUILD_TRIPLET) \
> --with-cc=$(CR_COMPLR)gcc \
> --with-cflags=-Os \
> --with-linkcc=$(CR_COMPLR)gcc \
> --with-ranlib=$(CROSS_RANLIB) \
> --with-endianness=big \
> --enable-mini-agent \
> --with-ldflags="-lpthread" \
> --disable-mib-loading \
> --without-openssl \
> --without-kmem-usage \
> --with-mib-modules="ucd-snmp/dlmod ucd-snmp/pass mibII" \
> --with-ld=$(CROSS_LD) \
> --disable-manuals \
> --disable-des \
> --disable-privacy \
> --disable-md5 \
> --disable-perl \
> --without-perl-modules \
> --disable-scripts \
> --disable-embedded-perl \
> --disable-perl-cc-checks \
> --with-default-snmp-version="2" \
> --with-out-security-modules="ksm" \
> --disable-ipv6 \
> --with-ar=$(CROSS_AR) \
> --prefix=$(RFS)/usr/local \
> --libdir=$(RFS)/lib \
> --enable-mib-config-checking \
> --with-enterprise-oid=$(ENTER_OID) \
> --with-enterprise-sysoid=$(ENTER_SYSOID) \
> --with-enterprise-notification-oid=$(ENTER_NOTOID) \
> --with-endianness=big \
> --with-out-transports="TCP UDPIPv6 TCPIPv6 Unix Callback AAL5PVC IPX"
> \
> --with-defaults \
> --with-out-mib-modules="snmpv3mibs agentx agent_mibs disman/event
> disman/schedule utilities host examples/ucdDemoPublic examples/example
> mibII/mta_sendmail disman/old-event-mib ucd-snmp/lmSensors smux
> ucd-snmp/diskio disman/event-mib tunnel misc/ipfwacc notification-log-mib
> host/hr_swrun host/hr_swinst ucd_snmp" \
> --disable-snmptrapd-subagent \
> --without-python-modules \
> --without-rpm \
> --without-dmalloc \
> --without-efence \
> --without-rsaref \
> --disable-debugging \
> --enable-shared \
> --disable-applications \
>
> Thanks In Advance...
>
> Amit
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders