All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yoanis Gil Delgado <fred@lab.matcom.uh.cu>
To: reiserfs-list@namesys.com
Subject: Re: error compiling reiser4 for kernel 2.6.13.1
Date: Thu, 20 Oct 2005 21:53:34 -0400	[thread overview]
Message-ID: <200510202153.35766.fred@lab.matcom.uh.cu> (raw)
In-Reply-To: <200510202106.22388.fred@lab.matcom.uh.cu>

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?

  reply	other threads:[~2005-10-21  1:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-21  1:06 error compiling reiser4 for kernel 2.6.13.1 Yoanis Gil Delgado
2005-10-21  1:53 ` Yoanis Gil Delgado [this message]
2005-10-21  8:12   ` Vladimir V. Saveliev
2005-10-21  8:14     ` Philippe Gramoullé
2005-10-21  8:33       ` Vladimir V. Saveliev
2005-10-21  8:48     ` Hans Reiser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510202153.35766.fred@lab.matcom.uh.cu \
    --to=fred@lab.matcom.uh.cu \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.