Dave> It should be sufficient to tweak the Makefiles so that the
Dave> mibgroup/agentx files are compiled and linked into the
Dave> main agent library instead.
  
Wes> You know...  that's actually a good idea as a more permanent
Wes> solution.  We could just mark (somehow) certain files within the
Wes> mibgroup directory as stuff that should get compiled into the core
Wes> agent, and mark other files as true mib code.
 
Dave> You mean something like:
Dave>   config_belongs_in( MIBLIB )
Dave> vs
Dave>   config_belongs_in( AGENTLIB )

Wes> Something like that, yeah.


OK - I've just submitted a patch that implements this particular idea.
(It actually uses
        config_belongs_in( agent_modules )
                                but the basic idea is the same.

I've only applied it to the "utilities/execute" module, as a simply
proof-of-concept, but we could move the AgentX/SMUX code across too,
if that was felt to be worth doing.

It doesn't have quite the level of error-checking that I'd like,
but it does seem to work OK, and doesn't complicate the configure
script too much more than it currently is.

We can always back this out if it proves to be too flaky, but there
should be time to give it a whirl before we start to concentrate on
the next release....

I'd be interested in hearing what you think.

Dave



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to