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$

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.

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?

However I am unable to compile the Git sources due to unavailability of Git on
my local machine (I changed my distribution) and the remote GNU box.

Meanwhile, what do you think?

Happy hacking,
Debarshi
-- 
husband    v. use sparingly; conserve; save
husbandry  n. frugality; thrift; agriculture

Attachment: pgpDQoIC1i58I.pgp
Description: PGP signature

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to