GNOME Bugzilla – Bug 651654
GParted does not build with GNU Parted 3.0
Last modified: 2011-06-01 19:04:00 UTC
GParted (from git repo http://git.gnome.org/browse/gparted/commit/?id=ef11ab4e34403b031f26ea76d1d6f10fca8bc140 ) fails to build with GNU Parted 3.0 (compiled from Parted git repo). GNU Parted 3.0 has all its FS related stuff removed. Compile error in GCC 4.6 (Archlinux x86_64 Kernel 3.0-rc1) - g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/atk-1.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -DGPARTED_DATADIR=\""/usr/share"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -Wall -march=x86-64 -mtune=native -O2 -pipe -MT FS_Info.o -MD -MP -MF .deps/FS_Info.Tpo -c -o FS_Info.o ../../src/FS_Info.cc mv -f .deps/FS_Info.Tpo .deps/FS_Info.Po g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/atk-1.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -DGPARTED_DATADIR=\""/usr/share"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -Wall -march=x86-64 -mtune=native -O2 -pipe -MT GParted_Core.o -MD -MP -MF .deps/GParted_Core.Tpo -c -o GParted_Core.o ../../src/GParted_Core.cc ../../src/GParted_Core.cc: In member function ‘void GParted::GParted_Core::LP_set_used_sectors(GParted::Partition&)’: ../../src/GParted_Core.cc:1444:53: error: ‘ped_file_system_open’ was not declared in this scope ../../src/GParted_Core.cc:1448:60: error: ‘ped_file_system_get_resize_constraint’ was not declared in this scope ../../src/GParted_Core.cc:1456:31: error: ‘ped_file_system_close’ was not declared in this scope ../../src/GParted_Core.cc: In member function ‘bool GParted::GParted_Core::resize_move_filesystem_using_libparted(const GParted::Partition&, const GParted::Partition&, GParted::OperationDetail&)’: ../../src/GParted_Core.cc:1905:39: error: ‘ped_file_system_open’ was not declared in this scope ../../src/GParted_Core.cc:1913:63: error: ‘ped_file_system_resize’ was not declared in this scope ../../src/GParted_Core.cc:1915:31: error: ‘ped_file_system_close’ was not declared in this scope ../../src/GParted_Core.cc: In member function ‘bool GParted::GParted_Core::erase_filesystem_signatures(const GParted::Partition&)’: ../../src/GParted_Core.cc:2920:71: error: ‘ped_file_system_clobber’ was not declared in this scope make[2]: *** [GParted_Core.o] Error 1 make[2]: Leaving directory `/media/Data_2/Source_Codes/Archstuff/My_PKGBUILDs/AUR/gparted-git/src/gparted_1/BUILD/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/Data_2/Source_Codes/Archstuff/My_PKGBUILDs/AUR/gparted-git/src/gparted_1/BUILD' make: *** [all] Error 2
Thank you for reporting this problem. Since it was previously reported I am marking this report as a duplicate. *** This bug has been marked as a duplicate of bug 651559 ***