bug-fdisk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-fdisk] fdisk 1.2.5 compile error with libparted 3.x


From: KESHAV P.R.
Subject: [bug-fdisk] fdisk 1.2.5 compile error with libparted 3.x
Date: Wed, 14 Sep 2011 22:28:06 +0530

Hi,
    GNU fdisk 1.2.5 with
fdisk-1.2.5-PED_ASSERT-remove-action-argument.patch and
fdisk-1.2.5-update-sys-types.patch, compile error in Archlinux x86_64
with gcc 4.6.1 and libparted 3.0.1-08c0 (from git repo). Parted 3.x
does not spport any filesystem operation and all FS support has been
removed.

gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../src
-I..  -I../lib -I../../lib   -D_FILE_OFFSET_BITS=no -MT fdisk.o -MD
-MP -MF .deps/fdisk.Tpo -c -o fdisk.o ../../src/fdisk.c
../../src/fdisk.c: In function 'do_mkpart':
../../src/fdisk.c:725:45: error: 'const struct _PedFileSystemOps' has
no member named 'create'
../../src/fdisk.c: In function 'do_resize':
../../src/fdisk.c:1564:26: error: 'const struct _PedFileSystemOps' has
no member named 'resize'
../../src/fdisk.c:1571:24: warning: initialization makes pointer from
integer without a cast [enabled by default]
../../src/fdisk.c:1572:15: warning: assignment makes pointer from
integer without a cast [enabled by default]
../../src/fdisk.c: In function '_init_messages':
../../src/fdisk.c:2080:19: error: 'const struct _PedFileSystemOps' has
no member named 'create'
../../src/fdisk.c:2117:19: error: 'const struct _PedFileSystemOps' has
no member named 'resize'
make[2]: *** [fdisk.o] Error 1
make[2]: Leaving directory
`/media/Source_Codes/Source_Codes/Archstuff/My_PKGBUILDs/AUR/gnu-fdisk/src/fdisk-1.2.5/BUILD/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/media/Source_Codes/Source_Codes/Archstuff/My_PKGBUILDs/AUR/gnu-fdisk/src/fdisk-1.2.5/BUILD'
make: *** [all] Error 2

Also does GNU fdisk and cfdisk support GPT disks (since its based in
libparted). Thats the main reason I want to try GNU fdisk over
util-linux fdisk, and GPT fdisk (from Rod Smith). 1 fdisk/cfdisk
program to support both MBR and GPT. Thanks in advance.

Regards.

Keshav



reply via email to

[Prev in Thread] Current Thread [Next in Thread]