I should have tested the patch. My apologies. Not only must the struct statvfs have f_frsize on Linux, but this module must also use struct statvfs for the instance in question. I believe that the module is using struct statfs instead, for reason I do not know.
-Mike > > From: Bruce Shaw <[EMAIL PROTECTED]> > Date: 2004/06/18 Fri PM 01:35:08 EDT > To: 'Andy Smith' <[EMAIL PROTECTED]>, net-snmp-coders > <[EMAIL PROTECTED]> > Subject: RE: Host Resource MIB on Broken Linux > > I was a afraid of that. I'd love to know why linux is claiming it has it if > it doesn't. > > Comment out (or remove) lines 797-799 and 804 ie. take out the IFDEF > structure relating to STRUCT_STATVFS_HAS_F_FRSIZE. > > I'll post a patch. > > -----Original Message----- > From: Andy Smith [mailto:[EMAIL PROTECTED] > Sent: Friday, June 18, 2004 10:03 AM > To: net-snmp-coders > Subject: Host Resource MIB on Broken Linux > > > It looks like one of the recent patches broke the host resource mib on > Linux. I have tried compiling on a Mandrake 9.1 system and recieved the > following: > > host/hr_filesys.c: In function `Get_FSSize': > host/hr_filesys.c:798: structure has no member named `f_frsize' > make[2]: *** [host/hr_filesys.lo] Error 1 > make[2]: Leaving directory `/home/asmith/src/net-snmp-linux/agent/mibgroup' > make[1]: *** [subdirs] Error 1 > make[1]: Leaving directory `/home/asmith/src/net-snmp-linux/agent' > make: *** [subdirs] Error 1 > > Andy > > > This communication is intended for the use of the recipient to which it is > addressed, and may contain confidential, personal and or privileged > information. Please contact us immediately if you are not the intended > recipient of this communication, and do not copy, distribute, or take action > relying on it. Any communication received in error, or subsequent reply, > should be deleted or destroyed. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Net-snmp-coders mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
