public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Has anyone managed to compile jffs2reader lately?
@ 2003-10-30 21:43 Robin Gilks
  2003-10-30 22:20 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Robin Gilks @ 2003-10-30 21:43 UTC (permalink / raw)
  To: mtd list

I note that its commented out in the makefile and despite various hacks 
and trials I'm unable to compile it since it seems to suffer rather a 
lot of typedef problems (inherited from zlib I think).

I'll not include the whole list (too big) but this is an example of the 
errors I'm seeing.

jffs2reader.c: In function `putblock':
jffs2reader.c:139: incompatible types in initialization
jffs2reader.c:141: invalid operands to binary >
jffs2reader.c:141: invalid operands to binary +
jffs2reader.c:146: invalid operands to binary <
jffs2reader.c:147: invalid operands to binary -
jffs2reader.c:151: invalid operands to binary +

This lack of an analysis tool means I'm unable to debug the device file 
problems I reports yesterday.

-- 
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks@tait.co.nz
New Zealand

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

* Re: Has anyone managed to compile jffs2reader lately?
  2003-10-30 21:43 Has anyone managed to compile jffs2reader lately? Robin Gilks
@ 2003-10-30 22:20 ` David Woodhouse
  0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2003-10-30 22:20 UTC (permalink / raw)
  To: Robin Gilks; +Cc: mtd list

On Fri, 2003-10-31 at 10:43 +1300, Robin Gilks wrote:
> I note that its commented out in the makefile and despite various hacks 
> and trials I'm unable to compile it since it seems to suffer rather a 
> lot of typedef problems (inherited from zlib I think).

Omit '-I../include' from its CFLAGS; let it include _old_ JFFS2 kernel
headers from your 2.4 kernel.

-- 
dwmw2

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

end of thread, other threads:[~2003-10-30 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-30 21:43 Has anyone managed to compile jffs2reader lately? Robin Gilks
2003-10-30 22:20 ` David Woodhouse

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