Tewen Hsieh wrote:
> I want to compile net-snmp-5.1.1 without mibII/interfaces module and
> implement ifTable by myself.
> So I use option "--with-out-mib-modules=mibII/interfaces" in configure
> phase.

You also need to omit the modules
mibII/at
mibII/ipAddr
mibII/var_route

all of which rely on the interface module.

You may find that there are further dependencies on these modules.
If so, run

grep {undefined routine} agent/mibgroup/*/*.c

to identify which other modules to omit.


Note that 5.1.1 is a *very* old version, and this line is no longer
being supported.
You might find it better to work with a more recent version.
Note also that the ifTable has been completely re-written in the
latest releases, so could well have less of these hidden dependencies.

Dave

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to