help : JFFS2 compile error :background.c

guo_zhenglin guo_zl9 at hotmail.com
Mon Mar 10 20:31:29 EST 2003


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 at wohnheim.fh-wedel.de>
To: "guo_zhenglin" <guo_zl9 at hotmail.com>
Cc: <linux-mtd at 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
>




More information about the linux-mtd mailing list