From: "Vladimir V. Saveliev" Subject: Re: Bug report: reiserfsck --rebuild-tree not progressing Date: Tue, 11 Apr 2006 19:23:38 +0400 Message-ID: <1144769018.6188.52.camel@tribesman.namesys.com> References: <20060411072150.GA21772@favonius> <1144747469.6188.36.camel@tribesman.namesys.com> <20060411143425.GD12333@mathematik.uni-bielefeld.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-LL01rpu7ch+eYBsGt/0c" Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <20060411143425.GD12333@mathematik.uni-bielefeld.de> List-Id: To: Bernhard Sadlowski Cc: reiserfs-list@namesys.com --=-LL01rpu7ch+eYBsGt/0c Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello On Tue, 2006-04-11 at 16:34 +0200, Bernhard Sadlowski wrote: > On 11 Apr 2006 13:24, Vladimir V. Saveliev wrote: > > I would recommend you to abort it and try > > ftp://ftp.namesys.com/pub/tmp/reiserfsprogs-3.6.20.tar.gz > > Why is it in /pub/tmp? Is this an official new version? > not yet. we would like it to get more testing. > This version compiles with no Problems on Debian 3.1 with gcc 3.3.5, but > compiling on Debian 3.0 (woody, old stable distribution, gcc 2.95.4) does > not work, even thogh 3.6.19 had no still compile problems: > > $ make > [...] > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -O2 -fPIC -DPIC > -Wall -O2 -fPIC -DPIC -c -o debugfs_reiserfs-corruption.o test -f > 'corruption.c' || echo './'corruption.c > corruption.c: In function do_bitmap_corruption': > corruption.c:892: parse error before *' > corruption.c:907: i' undeclared (first use in this function) > corruption.c:907: (Each undeclared identifier is reported only once > corruption.c:907: for each function it appears in.) > corruption.c:910: bh' undeclared (first use in this function) > make[3]: *** [debugfs_reiserfs-corruption.o] Error 1 > make[3]: Leaving directory /usr/src/reiser/reiserfsprogs-3.6.20/utils/debugfs' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory /usr/src/reiser/reiserfsprogs-3.6.20/utils' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory /usr/src/reiser/reiserfsprogs-3.6.20' > make: *** [all] Error 2 > would you try if this patch helps, please? > $ gcc -v > Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs > gcc version 2.95.4 20011002 (Debian prerelease) > > Bernhard > --=-LL01rpu7ch+eYBsGt/0c Content-Disposition: attachment; filename=patch Content-Type: text/plain; name=patch; charset=utf-8 Content-Transfer-Encoding: 7bit --- ./utils/debugfs/corruption.c~ 2006-03-28 16:40:23.000000000 +0400 +++ ./utils/debugfs/corruption.c 2006-04-11 19:21:39.000000000 +0400 @@ -888,7 +888,7 @@ unsigned long first = fs->fs_super_bh->b_blocknr + 1; unsigned long nr_bitmap_to_corrupt; - unsigned long block, bmap_nr;; + unsigned long block, bmap_nr; reiserfs_bh_t * bh; unsigned int i; --=-LL01rpu7ch+eYBsGt/0c--