public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Artem B. Bityutskiy" <dedekind@yandex.ru>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Linux MTD <linux-mtd@lists.infradead.org>
Subject: Re: Another compiler error: sumtool.c
Date: Thu, 22 Sep 2005 10:20:50 +0400	[thread overview]
Message-ID: <43324D42.5060407@yandex.ru> (raw)
In-Reply-To: <20050921211326.GK8421@lunn.ch>

Andrew Lunn wrote:
> Hi Folks
> 
> Thanks to Artem's fix i can now compile jffs2 without write buffer
> support. However the sumtool does not compile.....
> 
> lunn@londo:~/pkgs/mtd/mtd/util$ make
> gcc -I../include -O2 -Wall -g -c -o sumtool.o sumtool.c -g -Wp,-MD,.sumtool.c.dep
> sumtool.c:66: error: static declaration of 'target_endian' follows non-static declaration../include/mtd/jffs2-user.h:22: error: previous declaration of 'target_endian' was here
> make: *** [sumtool.o] Error 1

Hmm, I did not enable EBS and did not test how it works. If you have 
small NOR flash, don't use EBS. EBS may make things worse on small NORs 
- both because of wasting space and because NOR+EBS looks like NAND for 
JFFS2 (jffs2_can_mark_obsolete() is 0 at os-linux.h), which leads to 
greater CPU load on mount (much more nodes to check). I believe Ferenc 
should write about this in a Readme file or in the EBS config help.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

  reply	other threads:[~2005-09-22  6:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-21 21:13 Another compiler error: sumtool.c Andrew Lunn
2005-09-22  6:20 ` Artem B. Bityutskiy [this message]
2005-09-22  6:41   ` Andrew Lunn
2005-09-22  6:50     ` Artem B. Bityutskiy
2005-09-22  9:40       ` Ferenc Havasi
2005-09-22  9:50         ` Artem B. Bityutskiy

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=43324D42.5060407@yandex.ru \
    --to=dedekind@yandex.ru \
    --cc=andrew@lunn.ch \
    --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