On Sat, 2007-02-24 at 02:08 +0530, Debarshi 'Rishi' Ray wrote: > Hello folks, > > I was trying to find out how well Parted performs on GNU (Hurd based) systems. > > I tried the 1.8.2 tarball and this is what I got: > [EMAIL PROTECTED]:~/devel/parted/parted-1.8.2$ ./configure && make > ... > ... > fdasd.c: In function 'fdasd_get_geometry': > fdasd.c:897: error: '_IOT__IOTBASE_dasd_information_t' undeclared (first use > in this function) > fdasd.c:897: error: (Each undeclared identifier is reported only once > fdasd.c:897: error: for each function it appears in.) > make[3]: *** [fdasd.lo] Error 1 > make[3]: Leaving directory > `/home/rishi/devel/parted/parted-1.8.2/libparted/labels' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/rishi/devel/parted/parted-1.8.2/libparted' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/rishi/devel/parted/parted-1.8.2' > make: *** [all] Error 2 > [EMAIL PROTECTED]:~/devel/parted/parted-1.8.2$
Linux-specific _IOR() macro. See include/parted/fdasd.h > I went back to the 1.7.1 tarball, and got this: > [EMAIL PROTECTED]:~/devel/parted/parted-1.7.1$ ./configure && make > ... > ... > arch/gnu.c: In function 'gnu_write': > arch/gnu.c:659: error: 'PED_SECTOR_SIZE' undeclared (first use in this > function) > arch/gnu.c:659: error: (Each undeclared identifier is reported only once > arch/gnu.c:659: error: for each function it appears in.) > cc1: warnings being treated as errors > arch/gnu.c: At top level: > arch/gnu.c:859: warning: initialization from incompatible pointer type > make[3]: *** [gnu.lo] Error 1 > make[3]: Leaving directory `/home/rishi/devel/parted/parted-1.7.1/libparted' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/rishi/devel/parted/parted-1.7.1/libparted' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/rishi/devel/parted/parted-1.7.1' > make: *** [all] Error 2 > [EMAIL PROTECTED]:~/devel/parted/parted-1.7.1$ > > The problem in 1.7.1 is that in libparted/arch/gnu.c function gnu_write has > PED_SECTOR_SIZE in line number 657. This should be PED_SECTOR_SIZE_DEFAULT, > which is #define'd in include/parted/unit.h. There is no #define for > PED_SECTOR_SIZE. This is issue persists in the Git snapshot too. Yeah, this should change to PED_SECTOR_SIZE_DEFAULT > I am lost about the other problem in libparted/labels/fdasd.c. Could not find > '_IOT__IOTBASE_dasd_information_t' on the specified line number. Can someone > enlighten me? See /usr/include/asm-generic/ioctl.h on Linux. We should probably restrict DASD support to Linux only. -- David Cantrell <[EMAIL PROTECTED]> Red Hat / Westford, MA
signature.asc
Description: This is a digitally signed message part
_______________________________________________ parted-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/parted-devel

