Re: 1. Compiling Net-SNMP to use static linking 2. Cross-compile

This is a discussion on Re: 1. Compiling Net-SNMP to use static linking 2. Cross-compile within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, 06 Sep 2006 16:57:35 -0400 ayan@cerona.com wrote: AC> 1) I am trying to ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-06-2006
Robert Story
 
Posts: n/a
Default Re: 1. Compiling Net-SNMP to use static linking 2. Cross-compile

On Wed, 06 Sep 2006 16:57:35 -0400 ayan@cerona.com wrote:
AC> 1) I am trying to compile Net-SNMP and create the agent
AC> using static linking. I read the relevant FAQ and used
AC> configure with:
AC> --with-ldflags=-Bstatic

Try specifying --enable-static --disable-shared.

AC> 2) My above attempt to create a statically-linked agent is
AC> because I am trying to run the agent on an embedded device
AC> with limited memory (~8MB -- not enough to have the shared
AC> libraries). The processor is PowerPC 405, and the OS is
AC> Montavista Linux.

If you really have limited space, you might also want to disable some of the
default mib-modules. For really tight memory constraints, start with
--enable-mini-agent and just enable the modules you want.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:45 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0