Re: rfc: snmptrapd dependencies on agent libs

This is a discussion on Re: rfc: snmptrapd dependencies on agent libs within the SNMP Coders forums, part of the Networking and Network Related category; Dave Shield wrote: > But I can't help feeling we're getting a bit sidetracked. > I suspect that ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-20-2005
Thomas Anders
 
Posts: n/a
Default Re: rfc: snmptrapd dependencies on agent libs

Dave Shield wrote:
> But I can't help feeling we're getting a bit sidetracked.
> I suspect that Thomas was asking for guidance on what should
> be done in the immediate future, rather than more significant
> (and probably longer-term) design changes.
>
> Currently, we seem to have votes for:
>
>>[ ] reorganize the libraries ....
>>[1] reorganize the agent ....
>>[ ] build [stripped down] libnetsnmpagent
>>[1] have --disable-agent build *just* libnetsnmpagent
>>[1] have --disable-agent disable snmpd *and* snmptrapd
>>[ ] <your own suggestions>


FWIW, the original *intention* of --disable-agent wrt. snmptrapd seems
to have been:

[x] build snmptrapd without agent code

See the following snippet from apps/Makefile.in:

# hack for compiling trapd when agent is disabled
TRAPDWITHAGENT = $(USETRAPLIBS) @AGENTLIBS@
TRAPDWITHOUTAGENT = $(LIBS)

But I don't think it ever worked. CVS log of apps/Makefile.in tells the
same interesting story:

----------------------------
revision 5.10
date: 2004/03/09 15:55:39; author: rstory; state: Exp; lines: +12 -3
separate traplibs from agent libs for dependencies
----------------------------
revision 5.9
date: 2004/03/09 00:09:09; author: rstory; state: Exp; lines: +4 -4
use app libs for snmptrapd when agent disabled; move wraplib substitution to
a more reasonable place. snmptrapd still doesn't link, but it's closer...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
----------------------------
revision 5.8
date: 2004/03/04 17:43:19; author: hardaker; state: Exp; lines: +4 -1
- fix building trapd when the agent isn't being built
----------------------------


So should we try to complete what has been started back then?


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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 02:20 PM.


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