linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How to run ELDK 3.1.1 's snmp ?
@ 2005-08-23  5:16 徐小威的EMAIL
  2005-08-23  8:57 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: 徐小威的EMAIL @ 2005-08-23  5:16 UTC (permalink / raw)
  To: linuxppc-embedded

Hi All:

     I want to know how to used ELDK 3.1.1's snmpd at ppc_8xx
environment.I used 2.4.25 Linux  and uRamdisk (from denx's ftp site) at
my MPC852T custom board. When  I mount /opt/eldk/ppc_88x to my linux and
run it,
I got following error message.

 # ./snmpd --version
./snmpd: No such file or directory

The found if i compiler snmp source code with LDFLAGS += --static,
although file is bigger than ELDK's snmpd (almost 3M byte), but it can
run very well. I want to know what's the different between LDFLAGS+=--
static and LDFLAGS=
Best Regards,
Rober Hsu 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to run ELDK 3.1.1 's snmp ?
  2005-08-23  5:16 How to run ELDK 3.1.1 's snmp ? 徐小威的EMAIL
@ 2005-08-23  8:57 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-08-23  8:57 UTC (permalink / raw)
  To: 徐小威的EMAIL; +Cc: linuxppc-embedded

In message <1124774174.5945.15.camel@banana> you wrote:
> 
>      I want to know how to used ELDK 3.1.1's snmpd at ppc_8xx
> environment.I used 2.4.25 Linux  and uRamdisk (from denx's ftp site) at
> my MPC852T custom board. When  I mount /opt/eldk/ppc_88x to my linux and

There is no ppc_88x in the ELDK. Mounting the NFS root file system on
top of the ramdisk root is probably not a good idea.  Why  don;t  you
run  with  root  file  system over NFS directlty as all documentation
shows in detail?

> I got following error message.
> 
>  # ./snmpd --version
> ./snmpd: No such file or directory

snmpd is not in your current directory.

Are you sure this is the realk error message?

> The found if i compiler snmp source code with LDFLAGS +ÿ-static,
> although file is bigger than ELDK's snmpd (almost 3M byte), but it can
> run very well. I want to know what's the different between LDFLAGS
> static and LDFLAGS

You are missing some of the needed shared libraries  in  the  ramdisk
image; just mounting the NFS root file system on some other directory
does  not  automatically  provide  access to the additional (mounted)
shared libraries. Correctly setting "LD_LIBRARY_PATH" may  help,  but
seems overly complicated.

Just user the root file system over NFS directly.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"An organization dries up if you don't challenge it with growth."
       - Mark Shepherd, former President and CEO of Texas Instruments

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-23 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23  5:16 How to run ELDK 3.1.1 's snmp ? 徐小威的EMAIL
2005-08-23  8:57 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).