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