public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Another compiler error: sumtool.c
@ 2005-09-21 21:13 Andrew Lunn
  2005-09-22  6:20 ` Artem B. Bityutskiy
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Lunn @ 2005-09-21 21:13 UTC (permalink / raw)
  To: linux-mtd

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

The easy fix is to make target_endian not static in sumtool.c, but is
that the correct fix?

        Thanks
                Andrew

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-22  9:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-21 21:13 Another compiler error: sumtool.c Andrew Lunn
2005-09-22  6:20 ` Artem B. Bityutskiy
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox