Re: undefined reference when compiled net-snmp-5.4.1 with flag --without-kmem-usage on FreeBSD 6.2
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2008/6/25 Xinran Wang <[email protected]>: > I configured net-snmp 5.4.1 on FreeBSD 6.2 with the following command " > > "./configure --disable-embedded-perl --disable-privacy > --without-kmem-usage --prefix=/usr/local " > > And got compilation error .... > How to fix this ? I've done some investigation, and it appears that the MIB module 'host/hr_swrun' relies on certain kernel-processing code, which is omitted when '--without-kmem-usage' is specified. The simplest solution in the short-term would probably be to run: ./configure --disable-embedded-perl --disable-privacy --without-kmem-usage --prefix=/usr/local --with-out-mib-modules=host/hr_swrun Untangling the hr_swrun code properly is going to take a bit longer. 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-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