error compiling reiser4 for kernel 2.6.13.1
Hi i just downloaded the 2.6.13.1 kernel source and the reiser4 patch for this kernel (reiser4-for-2.6.13-1.patch). When compiling i get the following error:
LD fs/reiser4/built-in.o
CC [M] fs/reiser4/debug.o
In file included from fs/reiser4/lock.h:15,
from fs/reiser4/context.h:14,
from fs/reiser4/debug.c:25:fs/reiser4/txnmgr.h: In function `spin_atom_init':fs/reiser4/txnmgr.h:512: error: duplicate case value fs/reiser4/txnmgr.h:512: error: previously used here fs/reiser4/txnmgr.h: In function `spin_txnh_init':fs/reiser4/txnmgr.h:513: error: duplicate case value fs/reiser4/txnmgr.h:513: error: previously used here fs/reiser4/txnmgr.h: In function `spin_txnmgr_init':fs/reiser4/txnmgr.h:514: error: duplicate case value fs/reiser4/txnmgr.h:514: error: previously used here In file included from fs/reiser4/context.h:14,
from fs/reiser4/debug.c:25:
fs/reiser4/lock.h: In function `spin_stack_init':fs/reiser4/lock.h:198: error: duplicate case value fs/reiser4/lock.h:198: error: previously used here In file included from fs/reiser4/znode.h:16,
from fs/reiser4/tree.h:15,
from fs/reiser4/super.h:9,
from fs/reiser4/debug.c:26:fs/reiser4/jnode.h: In function `spin_jnode_init':fs/reiser4/jnode.h:344: error: duplicate case value fs/reiser4/jnode.h:344: error: previously used here fs/reiser4/jnode.h: In function `spin_jload_init':fs/reiser4/jnode.h:348: error: duplicate case value fs/reiser4/jnode.h:348: error: previously used here In file included from fs/reiser4/super.h:9,
from fs/reiser4/debug.c:26:
fs/reiser4/tree.h: In function `spin_epoch_init':fs/reiser4/tree.h:169: error: duplicate case value fs/reiser4/tree.h:169: error: previously used here In file included from fs/reiser4/debug.c:26:fs/reiser4/super.h: In function `spin_super_init':fs/reiser4/super.h:379: error: duplicate case value fs/reiser4/super.h:379: error: previously used here make[2]: *** [fs/reiser4/debug.o] Error 1 make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2
Here is the output from the gcc version:
sena:/usr/src/linux# gcc -v Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux-gnu Thread model: posix gcc version 3.3.6 (Debian 1:3.3.6-7)
One more thing, i patched the 2.6.13 kernel (not the 2.6.13.1) and i got no compilation error. Thanks and best wishes...................yoanis
Quoted 59 lines · Yoanis Gil Delgado
Hi i just downloaded the 2.6.13.1 kernel source and the reiser4 patch for this kernel (reiser4-for-2.6.13-1.patch). When compiling i get the following error:
LD
fs/reiser4/built-in.o
CC [M]fs/reiser4/debug.o
In file included fromfs/reiser4/lock.h:15,from fs/reiser4/context.h:14, from fs/reiser4/debug.c:25:
fs/reiser4/txnmgr.h: In function `spin_atom_init':fs/reiser4/txnmgr.h:512: error: duplicate case valuefs/reiser4/txnmgr.h:512: error: previously used herefs/reiser4/txnmgr.h: In function `spin_txnh_init':fs/reiser4/txnmgr.h:513: error: duplicate case valuefs/reiser4/txnmgr.h:513: error: previously used herefs/reiser4/txnmgr.h: In function `spin_txnmgr_init':fs/reiser4/txnmgr.h:514: error: duplicate case valuefs/reiser4/txnmgr.h:514: error: previously used here In file included fromfs/reiser4/context.h:14,from fs/reiser4/debug.c:25:
fs/reiser4/lock.h: In function `spin_stack_init':fs/reiser4/lock.h:198: error: duplicate case valuefs/reiser4/lock.h:198: error: previously used here In file included fromfs/reiser4/znode.h:16,from fs/reiser4/tree.h:15, from fs/reiser4/super.h:9, from fs/reiser4/debug.c:26:
fs/reiser4/jnode.h: In function `spin_jnode_init':fs/reiser4/jnode.h:344: error: duplicate case valuefs/reiser4/jnode.h:344: error: previously used herefs/reiser4/jnode.h: In function `spin_jload_init':fs/reiser4/jnode.h:348: error: duplicate case valuefs/reiser4/jnode.h:348: error: previously used here In file included fromfs/reiser4/super.h:9,from fs/reiser4/debug.c:26:
fs/reiser4/tree.h: In function `spin_epoch_init':fs/reiser4/tree.h:169: error: duplicate case valuefs/reiser4/tree.h:169: error: previously used here In file included fromfs/reiser4/debug.c:26:fs/reiser4/super.h: In function `spin_super_init':fs/reiser4/super.h:379: error: duplicate case valuefs/reiser4/super.h:379: error: previously used here make[2]: *** [fs/reiser4/debug.o] Error 1 make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2Here is the output from the gcc version:
sena:/usr/src/linux# gcc -v Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux-gnu Thread model: posix gcc version 3.3.6 (Debian 1:3.3.6-7)
Quoted 2 lines
One more thing, i patched the 2.6.13 kernel (not the 2.6.13.1) and i got no compilation error. Thanks and best wishes...................yoanis
Well after "googling" a little and found not ansrwers y disbable de debug support and it works. so the problem it's partially solved. now i want to know why the debug support generated such errors?
Hello
Quoted 60 lines · Yoanis Gil Delgado
Quoted 59 lines · Yoanis Gil Delgado
Hi i just downloaded the 2.6.13.1 kernel source and the reiser4 patch for this kernel (reiser4-for-2.6.13-1.patch). When compiling i get the following error:
LD
fs/reiser4/built-in.o
CC [M]fs/reiser4/debug.o
In file included fromfs/reiser4/lock.h:15,from fs/reiser4/context.h:14, from fs/reiser4/debug.c:25:
fs/reiser4/txnmgr.h: In function `spin_atom_init':fs/reiser4/txnmgr.h:512: error: duplicate case valuefs/reiser4/txnmgr.h:512: error: previously used herefs/reiser4/txnmgr.h: In function `spin_txnh_init':fs/reiser4/txnmgr.h:513: error: duplicate case valuefs/reiser4/txnmgr.h:513: error: previously used herefs/reiser4/txnmgr.h: In function `spin_txnmgr_init':fs/reiser4/txnmgr.h:514: error: duplicate case valuefs/reiser4/txnmgr.h:514: error: previously used here In file included fromfs/reiser4/context.h:14,from fs/reiser4/debug.c:25:
fs/reiser4/lock.h: In function `spin_stack_init':fs/reiser4/lock.h:198: error: duplicate case valuefs/reiser4/lock.h:198: error: previously used here In file included fromfs/reiser4/znode.h:16,from fs/reiser4/tree.h:15, from fs/reiser4/super.h:9, from fs/reiser4/debug.c:26:
fs/reiser4/jnode.h: In function `spin_jnode_init':fs/reiser4/jnode.h:344: error: duplicate case valuefs/reiser4/jnode.h:344: error: previously used herefs/reiser4/jnode.h: In function `spin_jload_init':fs/reiser4/jnode.h:348: error: duplicate case valuefs/reiser4/jnode.h:348: error: previously used here In file included fromfs/reiser4/super.h:9,from fs/reiser4/debug.c:26:
fs/reiser4/tree.h: In function `spin_epoch_init':fs/reiser4/tree.h:169: error: duplicate case valuefs/reiser4/tree.h:169: error: previously used here In file included fromfs/reiser4/debug.c:26:fs/reiser4/super.h: In function `spin_super_init':fs/reiser4/super.h:379: error: duplicate case valuefs/reiser4/super.h:379: error: previously used here make[2]: *** [fs/reiser4/debug.o] Error 1 make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2Here is the output from the gcc version:
sena:/usr/src/linux# gcc -v Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux-gnu Thread model: posix gcc version 3.3.6 (Debian 1:3.3.6-7)
Quoted 7 lines
Quoted 2 lines
One more thing, i patched the 2.6.13 kernel (not the 2.6.13.1) and i got no compilation error. Thanks and best wishes...................yoanis
Well after "googling" a little and found not ansrwers y disbable de debug support and it works. so the problem it's partially solved. now i want to know why the debug support generated such errors?
Please try more recent version of reiser4 for 2.6.13:
ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.13/reiser4-for-2.6.13-4.patch.gz
Hello Vladimir,
On Fri, 21 Oct 2005 12:12:06 +0400
"Vladimir V. Saveliev" <[email protected]> wrote:
| Please try more recent version of reiser4 for 2.6.13:
| ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.13/reiser4-for-2.6.13-4.patch.gz
Well, i've been away for quite some time and didn't follow reiser4 development closely enough so i'd like to know if this patch contains everything needed, kernel wise ? No other kernel patch needed ?
Thanks,
Philippe
Hello
Quoted 5 lines · Philippe Gramoullé
Hello Vladimir,
On Fri, 21 Oct 2005 12:12:06 +0400
"Vladimir V. Saveliev" <[email protected]> wrote:
Quoted 7 lines
| Please try more recent version of reiser4 for 2.6.13:
| ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.13/reiser4-for-2.6.13-4.patch.gzWell, i've been away for quite some time and didn't follow reiser4 development closely enough so i'd like to know if this patch contains everything needed, kernel wise ? No other kernel patch needed ?
Yes. This patch contains everything. Nothing else is needed.
Quoted 78 lines · Vladimir V. Saveliev
Hello
Quoted 62 lines · Yoanis Gil Delgado
Quoted 59 lines · Yoanis Gil Delgado
Hi i just downloaded the 2.6.13.1 kernel source and the reiser4 patch for this kernel (reiser4-for-2.6.13-1.patch). When compiling i get the following error:
LD
fs/reiser4/built-in.o
CC [M]fs/reiser4/debug.o
In file included fromfs/reiser4/lock.h:15,from fs/reiser4/context.h:14, from fs/reiser4/debug.c:25:
fs/reiser4/txnmgr.h: In function `spin_atom_init':fs/reiser4/txnmgr.h:512: error: duplicate case valuefs/reiser4/txnmgr.h:512: error: previously used herefs/reiser4/txnmgr.h: In function `spin_txnh_init':fs/reiser4/txnmgr.h:513: error: duplicate case valuefs/reiser4/txnmgr.h:513: error: previously used herefs/reiser4/txnmgr.h: In function `spin_txnmgr_init':fs/reiser4/txnmgr.h:514: error: duplicate case valuefs/reiser4/txnmgr.h:514: error: previously used here In file included fromfs/reiser4/context.h:14,from fs/reiser4/debug.c:25:
fs/reiser4/lock.h: In function `spin_stack_init':fs/reiser4/lock.h:198: error: duplicate case valuefs/reiser4/lock.h:198: error: previously used here In file included fromfs/reiser4/znode.h:16,from fs/reiser4/tree.h:15, from fs/reiser4/super.h:9, from fs/reiser4/debug.c:26:
fs/reiser4/jnode.h: In function `spin_jnode_init':fs/reiser4/jnode.h:344: error: duplicate case valuefs/reiser4/jnode.h:344: error: previously used herefs/reiser4/jnode.h: In function `spin_jload_init':fs/reiser4/jnode.h:348: error: duplicate case valuefs/reiser4/jnode.h:348: error: previously used here In file included fromfs/reiser4/super.h:9,from fs/reiser4/debug.c:26:
fs/reiser4/tree.h: In function `spin_epoch_init':fs/reiser4/tree.h:169: error: duplicate case valuefs/reiser4/tree.h:169: error: previously used here In file included fromfs/reiser4/debug.c:26:fs/reiser4/super.h: In function `spin_super_init':fs/reiser4/super.h:379: error: duplicate case valuefs/reiser4/super.h:379: error: previously used here make[2]: *** [fs/reiser4/debug.o] Error 1 make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2Here is the output from the gcc version:
sena:/usr/src/linux# gcc -v Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux-gnu Thread model: posix gcc version 3.3.6 (Debian 1:3.3.6-7)Quoted 10 lines
Quoted 4 lines
One more thing, i patched the 2.6.13 kernel (not the 2.6.13.1) and i got no compilation error. Thanks and best wishes...................yoanis
Well after "googling" a little and found not ansrwers y disbable de debug support and it works. so the problem it's partially solved. now i want to know why the debug support generated such errors?
Quoted 8 lines
Please try more recent version of reiser4 for 2.6.13:
ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.13/reiser4-for-2.6.13-4.patch.gz
Please put broken patches where users cannot find them on our website.
Hans