Hello On Tue, 2006-04-11 at 16:34 +0200, Bernhard Sadlowski wrote: > On 11 Apr 2006 13:24, Vladimir V. Saveliev <[EMAIL PROTECTED]> 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 >
--- ./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;