Skip to contentSkip to conversation

Has anyone managed to compile jffs2reader lately?

DISCUSSION Robin Gilks 2 participants 2 messages Oct 30, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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.

Signature · 5 lines
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : [email protected]
New Zealand
#1 lore raw
Quoted 3 lines · Robin Gilks

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.

Signature · 1 line
dwmw2