SYSTEM: 2.0.35 SuSE 5.3 (with clean 2.0.35 source)

PROBLEM: raidtools compile error

CAUSE: gcc 2.7.1 include file sys/mount.h doesn't define BLKGETSIZE

SOLUTION 1: change mkpv.c adding an include line

#include <sys/mount.h>          /* for BLKGETSIZE (original source)*/
#include <linux/fs.h>           /* for BLKGETSIZE (for suse5.3) */

SOLUTION 2: change mkpv.c to have a #ifndef BLKGETSIZE block like
raid_io.c does.

Please consider one of these changes for the next release of raidtools.
(or tell me a better way to get around it -- I know I can use RH, switch
to ecgs, upgrade to gcc 2.8, etc.... )

Thanks,

Eric





-- 
__________________________________________________________________
Eric T. Whiting                                 AMI Semiconductors   
(208) 234-6717                                  2300 Buckskin Road
(208) 234-6795 (fax)                            Pocatello,ID 83201
[EMAIL PROTECTED]

Reply via email to