Re: Build with out ifMIB

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> "AA" == Aneeja Abbas <[email protected]> writes:

AA> ./configure --without-mib-modules="mibII/ifTable" 

Try this too:

./configure --without-mib-modules="mibII/ifTable mibII/ip host/hr_network" 

AA> and I get the following warning messages: 

Some of those are ok, others are a problem.  Specifically:

AA> *** MIB Module warning *** mib module 'mibII' requires module 'mibII/ifTable' but someone told me to compile without it 

That one you can ignore.

These, however, are a bigger problem because these modules need parts of
the ifTable module:

AA> *** MIB Module warning *** mib module 'mibII/ip' requires module 'mibII/ifTable' but someone told me to compile without it 
AA> *** MIB Module warning *** mib module 'host/hr_network' requires module 'mibII/ifTable' but someone told me to compile without it 

AA> I proceeded and did 'make' and ended up with the following link error : 

AA> .libs/snmpd.o: In function `receive': 
AA> /root/SNMP/net-snmp-5.4.1/agent/snmpd.c:1090: undefined reference to `update_config' 
AA> collect2: ld returned 1 exit status 
AA> make[1]: *** [snmpd] Error 1 

That, however, worries me.  That error has nothing to do with anything
else above.

After you re-run configure, make sure to do a "make clean" first.  Maybe
that'll help.
-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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.