* help : JFFS2 compile error :background.c
@ 2003-03-07 11:11 guo_zhenglin
2003-03-10 15:13 ` =?unknown-8bit?Q?J=F6rn?= Engel
0 siblings, 1 reply; 7+ messages in thread
From: guo_zhenglin @ 2003-03-07 11:11 UTC (permalink / raw)
To: linux-mtd
thanks very much.
but I am beginner on linux ,
I don't know how to modify ,
Could you tell me more detailedly?
thanks
------------------------------
guo zhenglin
------------------------------
OKI Software Technology Co.,Ltd.
Development Division
E-mail: guo_zl9 at hotmail.com
TEL:+86-519-690-2222(ext 249)
FAX:+86-519-690-2188
------------------------------
http://www.okijs.com/
------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* help : JFFS2 compile error :background.c
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
0 siblings, 1 reply; 7+ messages in thread
From: =?unknown-8bit?Q?J=F6rn?= Engel @ 2003-03-10 15:13 UTC (permalink / raw)
To: linux-mtd
On Fri, 7 March 2003 19:11:16 +0800, guo_zhenglin wrote:
>
> thanks very much.
> but I am beginner on linux ,
> I don't know how to modify ,
> Could you tell me more detailedly?
Not, unless you describe the problem in more details:
- kernel version
- applied patches
- command line and output of gcc
...
J?rn
--
Fancy algorithms are buggier than simple ones, and they're much harder
to implement. Use simple algorithms as well as simple data structures.
-- Rob Pike
^ permalink raw reply [flat|nested] 7+ messages in thread
* help : JFFS2 compile error :background.c
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
0 siblings, 1 reply; 7+ messages in thread
From: guo_zhenglin @ 2003-03-11 1:31 UTC (permalink / raw)
To: linux-mtd
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
4) Cross compile is MontaVista Hothard 2.0 for ppc platform
5) make vmlinux:
6)compile show:
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'
make[2]: *** [background.o] Error 1
make[2]: Leaving directory `/home/guozl_1/linux-2.4.4-2002-10-06/fs/jffs2'
make[1]: *** [_subdir_jffs2] Error 2
make[1]: Leaving directory `/home/guozl_1/linux-2.4.4-2002-10-06/fs'
make: *** [_dir_fs] Error 2
[root at t80c35 linux-2.4.4-2002-10-06]#
7) I don't know which file(s) should be modified
8) I don't know where should be modified
Can you tell me ?
thanks !
----- Original Message -----
From: "J?rn Engel" <joern@wohnheim.fh-wedel.de>
To: "guo_zhenglin" <guo_zl9@hotmail.com>
Cc: <linux-mtd@lists.infradead.org>
Sent: Monday, March 10, 2003 11:13 PM
Subject: Re: help : JFFS2 compile error :background.c
> On Fri, 7 March 2003 19:11:16 +0800, guo_zhenglin wrote:
> >
> > thanks very much.
> > but I am beginner on linux ,
> > I don't know how to modify ,
> > Could you tell me more detailedly?
>
> Not, unless you describe the problem in more details:
> - kernel version
> - applied patches
> - command line and output of gcc
> ...
>
> J?rn
>
> --
> Fancy algorithms are buggier than simple ones, and they're much harder
> to implement. Use simple algorithms as well as simple data structures.
> -- Rob Pike
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* help : JFFS2 compile error :background.c
2003-03-11 1:31 ` guo_zhenglin
@ 2003-03-12 22:09 ` Joern Engel
2003-03-13 1:07 ` guo_zhenglin
0 siblings, 1 reply; 7+ messages in thread
From: Joern Engel @ 2003-03-12 22:09 UTC (permalink / raw)
To: linux-mtd
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* help : JFFS2 compile error :background.c
2003-03-12 22:09 ` Joern Engel
@ 2003-03-13 1:07 ` guo_zhenglin
0 siblings, 0 replies; 7+ messages in thread
From: guo_zhenglin @ 2003-03-13 1:07 UTC (permalink / raw)
To: linux-mtd
thanks for you answers.
I decide to not use mtd_cvs_20020612.tgz.
only use linux-2.4.4.
thanks.
----- Original Message -----
From: "Joern Engel" <joern@wohnheim.fh-wedel.de>
To: "guo_zhenglin" <guo_zl9@hotmail.com>
Cc: <linux-mtd@lists.infradead.org>
Sent: Thursday, March 13, 2003 6:09 AM
Subject: Re: help : JFFS2 compile error :background.c
> 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
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* help : JFFS2 compile error :background.c
@ 2003-03-07 1:50 guo_zhenglin
2003-03-07 6:56 ` David Woodhouse
0 siblings, 1 reply; 7+ messages in thread
From: guo_zhenglin @ 2003-03-07 1:50 UTC (permalink / raw)
To: linux-mtd
I had use mtd_cvs_20020612.tgz (from
http://qslinux.org/qslinux_2_4/tarballs/mtd_cvs_20020612.tgz)
but compile show error:
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'
make[2]: *** [background.o] Error 1
make[2]: Leaving directory `/home/guozl_1/linux-2.4.4-2002-10-06/fs/jffs2'
make[1]: *** [_subdir_jffs2] Error 2
make[1]: Leaving directory `/home/guozl_1/linux-2.4.4-2002-10-06/fs'
make: *** [_dir_fs] Error 2
[root at t80c35 linux-2.4.4-2002-10-06]#
can you tell me how to do ?
thanks !
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-03-13 1:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox