Re: Build with out ifMIB
Aneeja Abbas <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <30562726.162771192840572372.JavaMail.root@trillian> |
Hi Thanks a lot for the help. Doing 'make clean' after 'configure' solved the linker error. But, somehow the ifTable is not removed from the agent. May be because of other dependent modules, it is not being removed from the build. Anyway, I guess the easy way to go is to leave the ifTable implementation with the main agent itself and work around it. Again, thank you so much for the advice. Aneeja ----- Original Message ----- From: "Wes Hardaker" <[email protected]> To: "Aneeja Abbas" <[email protected]> Cc: "Wes Hardaker" <[email protected]>, [email protected] Sent: Friday, October 19, 2007 3:27:47 PM (GMT-0800) America/Los_Angeles Subject: Re: Build with out ifMIB >>>>> "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 ------------------------------------------------------------------------- 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