Re: removing default compiled mib modules

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Mon, 2005-10-10 at 18:18 +0800, Ronnel P. Maglasang wrote:
> I wanted to remove the mib modules compiled by default in the
> agent except for the mib-II with this option in the configure
> script: --with-out-mib-modules="snmpv3mibs ucd_snmp agent_mibs agentx 
> notification target utilities"

> When I run make, a link error occured:
   [snip snmptrapd errors]

There are actually two separate problems here:

> undefined reference to `init_register_usmUser_context'

This is related to snmptrapd running as an AgentX subagent.
I'm actually surprised that you get this, as the relevant
shouldn't be compiled if you've excluded the agentx module.

We'll have to investigate that.
But as a workaround, try running configure with:

   --disable-snmptrapd-subagent

as well.


> undefined reference to `run_exec_command'

This is due to the modules you excluded.
The trap daemon relies on 'utilities' - try putting
that back into the default list.

Dave


-------------------------------------------------------
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-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.