it is dynamically linked and not stripped:
/net-snmp/agent/.libs$ file snmpd
snmpd: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for
GNU/Linux 2.6.10, dynamically linked (uses shared libs), not stripped
ls -s
/net-snmp/agent/.libs$ ls -s
total 6556
24 agent_handler.o 488 libnetsnmpagent.a 2400
libnetsnmpmibs.a 16 mib_modules.o
12 agent_index.o 0 libnetsnmpagent.la 0
libnetsnmpmibs.la 60 snmp_agent.o
8 agent_read_config.o 4 libnetsnmpagent.lai 4
libnetsnmpmibs.lai 32 snmpd
40 agent_registry.o 0 libnetsnmpagent.so 0
libnetsnmpmibs.so 28 snmpd.o
24 agent_trap.o 0 libnetsnmpagent.so.15 0
libnetsnmpmibs.so.15 8 snmp_vars.o
4 auto_nlist.o 296 libnetsnmpagent.so.15.1.2 1404
libnetsnmpmibs.so.15.1.2
4 kernel.o 296 libnetsnmpagent.so.15.1.2T 1404
libnetsnmpmibs.so.15.1.2T
Bernadette Eyre
-----Original Message-----
From: Magnus Fromreide [mailto:[email protected]]
Sent: Fri 1/16/2009 3:17 PM
To: EYRE Bernadette
Cc: [email protected]
Subject: Re: snmpd on embedded box
On Fri, 2009-01-16 at 11:05 -0800, Bernadette Eyre wrote:
> 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.
Is that a stripped binary?
Is it a dynamic executable? If so, what is the size of the libs that
goes with it?
/MF
------------------------------------------------------------------------------
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