From: <k3...@gm...> - 2007-10-01 17:55:52
|
Hello everybody, I am writing to this list because I have trouble building compiling the latest version( 0.4.5 ) found at "http://qtparted.sourceforge.net/download.en.html". When I am trying to compile "qtparted-0.4.5/src/qp_fswrap.cpp" g++ tells me that the variable PED_SECTOR_SIZE in line 1005 of the file "qp_fswrap.cpp" within the function "QString QP_FSFat32::_get_label(PedPartition *part)" is not defined, and indeed I cannot find any define or so all over the entire project. I would file a bug report, but temporarily parts of the sourceforge server seem to be down... Thanks in advance |
From: Armindo S. <dea...@gm...> - 2007-10-01 22:22:09
|
Hi there! Isn't a temporary problem, it's like that for years now.. The problem you have is because you are using libparted 1.7 or later. Qtparted's source code don't build directly with any of the newer versions, you nedd to apply this patch: http://kubuntu.org/~jriddell/tmp/kubuntu_04_libparted17.dpatch On 10/1/07, k3...@gm... <k3...@gm...> wrote: > > Hello everybody, > > I am writing to this list because I have trouble building compiling the > latest > version( 0.4.5 ) found at " > http://qtparted.sourceforge.net/download.en.html". > When I am trying to compile "qtparted-0.4.5/src/qp_fswrap.cpp" g++ tells > me > that the variable PED_SECTOR_SIZE in line 1005 of the file "qp_fswrap.cpp" > within the function "QString QP_FSFat32::_get_label(PedPartition *part)" > is > not defined, and indeed I cannot find any define or so all over the entire > project. I would file a bug report, but temporarily parts of the > sourceforge > server seem to be down... > > Thanks in advance > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Qtparted-development mailing list > Qtp...@li... > https://lists.sourceforge.net/lists/listinfo/qtparted-development > -- -- "The only way of discovering the limits of the possible is to venture a little way past them into the impossible." Sir Arthur C. Clarke |
From: <k3...@gm...> - 2007-10-02 08:29:54
|
On Tuesday 02 October 2007 00:22:06 Armindo Silva wrote: > Hi there! > > Isn't a temporary problem, it's like that for years now.. > The problem you have is because you are using libparted 1.7 or later. > Qtparted's source code don't build directly with any of the newer versions, > you nedd to apply this patch: > > http://kubuntu.org/~jriddell/tmp/kubuntu_04_libparted17.dpatch > > On 10/1/07, k3...@gm... <k3...@gm...> wrote: > > Hello everybody, > > > > I am writing to this list because I have trouble building compiling the > > latest > > version( 0.4.5 ) found at " > > http://qtparted.sourceforge.net/download.en.html". > > When I am trying to compile "qtparted-0.4.5/src/qp_fswrap.cpp" g++ tells > > me > > that the variable PED_SECTOR_SIZE in line 1005 of the file > > "qp_fswrap.cpp" within the function "QString > > QP_FSFat32::_get_label(PedPartition *part)" is > > not defined, and indeed I cannot find any define or so all over the > > entire project. I would file a bug report, but temporarily parts of the > > sourceforge > > server seem to be down... > > > > Thanks in advance > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Qtparted-development mailing list > > Qtp...@li... > > https://lists.sourceforge.net/lists/listinfo/qtparted-development Thx, I can build qtparted now... There is however another issue, which caused me to download the sourceforge version and not the package for my distribution in the first place: Each time I try clicking on "/dev/hdb" to open the second hd, qtparted just crashes (segfault)... I got a backtrace from gdb here: http://pastebin.com/m73c1cfc4 Since the program does a 'do' loop inside "QString QP_FSNtfs::_get_label(PedPartition *part)" I added this: static int x = 0; qDebug("QString QP_FSNtfs::_get_label: 'do' loop # %i", ++x); just after the beginning of the loop. It writes out: QString QP_FSNtfs::_get_label: 'do' loop # 1 QString QP_FSNtfs::_get_label: 'do' loop # 2 QString QP_FSNtfs::_get_label: 'do' loop # 3 QString QP_FSNtfs::_get_label: 'do' loop # 4 QString QP_FSNtfs::_get_label: 'do' loop # 5 QString QP_FSNtfs::_get_label: 'do' loop # 6 QString QP_FSNtfs::_get_label: 'do' loop # 7 QString QP_FSNtfs::_get_label: 'do' loop # 8 and then crashes. So it crashes when the loop is entered for the eight time. I don't know what "dwAttribType = NTFS_GETU32(cData);" does, so I hope that you will be able to fix this because it is kind of annoying that you can never see the second disk. If you need further information please let me know... |
From: Alain P. <ap...@un...> - 2007-10-02 08:53:28
|
Hi, Le Monday 01 October 2007 19:55:38 k3...@gm..., vous avez =E9crit=A0: > Hello everybody, > > I am writing to this list because I have trouble building compiling the > latest version( 0.4.5 ) found at > "http://qtparted.sourceforge.net/download.en.html". When I am trying to > compile "qtparted-0.4.5/src/qp_fswrap.cpp" g++ tells me that the variable > PED_SECTOR_SIZE in line 1005 of the file "qp_fswrap.cpp" within the > function "QString QP_FSFat32::_get_label(PedPartition *part)" is not > defined, and indeed I cannot find any define or so all over the entire > project. I would file a bug report, but temporarily parts of the > sourceforge server seem to be down... Already reported: http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1584386&group_= id=3D72497&atid=3D534714 This bug is fixed in the svn repository Regards, Alain =2D-=20 La version fran=E7aise des pages de manuel Linux http://manpagesfr.free.fr |