Vladimir V. Saveliev wrote: >Hello > >Yoanis Gil Delgado wrote: > > >>On Thursday 20 October 2005 09:06 pm, Yoanis Gil Delgado wrote: >> >> >>>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 >>> >>> >>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 > > > > > > Please put broken patches where users cannot find them on our website.
Hans
