From: joern@wohnheim.fh-wedel.de (Joern Engel)
To: linux-mtd@lists.infradead.org
Subject: help : JFFS2 compile error :background.c
Date: Wed, 12 Mar 2003 23:09:50 +0100 [thread overview]
Message-ID: <20030312220950.GA27517@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <OE25mGItB6rCjCuDauo00020d7f@hotmail.com>
On Tue, 11 March 2003 09:31:29 +0800, guo_zhenglin wrote:
>
> 1)I had used mtd_cvs_20020612.tgz (from
> http://qslinux.org/qslinux_2_4/tarballs/mtd_cvs_20020612.tgz)
>
> 2)input: "sh patches -j /home/guozl_1/linux-2.4.4-2002-10-06"
> 3)linux kernel is :linux-2.4.4
All three are a bit dated and likely noone has ever tested that
combination before.
Can you upgrade to something more current? kernel 2.4.21-pre5 should
work out of the box, I would guess.
There is little point in fixing a problem _again_. :)
> ppc_8xx-gcc -D__KERNEL__ -I/home/guozl_1/linux-2.4.4-2002-10-06/include -Wal
> l -W
>
> strict-prototypes -Os -fomit-frame-pointer -fno-strict-aliasing -D__powerpc_
> _ -f
>
> signed-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mst
> ring
> -mcpu=860 -g -DJFFS2_OUT_OF_KERNEL -c -o background.o background.c
> background.c:108: arguments given to macro `recalc_sigpending'
> background.c:155: arguments given to macro `recalc_sigpending'
Don't know, didn't look at the code. But it appears as if
recalc_sigpending has been changed sometime and one of 1), 2) and 3)
has the new version and another one the old one. Just a guess.
If you want to fix it yourself, look at fs/jffs2/background.c and
search for recalc_sigpending in http://lxr.linux.no/ . But upgrading
sounds like the better option.
J?rn
--
Beware of bugs in the above code; I have only proved it correct, but
not tried it.
-- Donald Knuth
next prev parent reply other threads:[~2003-03-12 22:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-07 11:11 help : JFFS2 compile error :background.c guo_zhenglin
2003-03-10 15:13 ` =?unknown-8bit?Q?J=F6rn?= Engel
2003-03-11 1:31 ` guo_zhenglin
2003-03-12 22:09 ` Joern Engel [this message]
2003-03-13 1:07 ` guo_zhenglin
-- strict thread matches above, loose matches on Subject: below --
2003-03-07 1:50 guo_zhenglin
2003-03-07 6:56 ` David Woodhouse
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=20030312220950.GA27517@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=linux-mtd@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox