Skip to contentSkip to conversation

Looking for mkfs.jffs2 source that compiles against 2.4.18 (redhat+patches)

DISCUSSION David Wuertele 2 participants 2 messages May 26, 2003 – May 28, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I have a highly-patched 2.4.18 kernel from my CPU vendor that includes JFFS2 support, but I've been unable to get the latest CVS mkfs.jffs2 to compile against it. The reason seems to be my kernel's jffs2.h not having defined the jint16_t and jint32_t. I have tried to follow the instructions in the latest mtd CVS for patching the kernel, but my kernel has a lot of special code in the mtd/nand directory that gets clobbered by mtd's patchin.sh. I have tried working around this but it is just too tangled of a mess.

My kernel's jffs2.h says:

* $Id: jffs2.h,v 1.22 2002/01/09 13:27:58 dwmw2 Exp $

This looks almost identical to the version of jffs2.h in my stock RH7.3 development system's kernel source.

Can anyone tell me how to check out a version of mtd/util from CVS that will compile against my kernel's existing JFFS2 support?

Thanks,
Dave

#1 lore raw
Quoted 2 lines · David Wuertele

Can anyone tell me how to check out a version of mtd/util from CVS that will compile against my kernel's existing JFFS2 support?

It shouldn't. If you run 'make mkfs.jffs2' in the util/ directory from CVS, you should see it add '-I../include' on the command line, and hence use its _own_ headers, not the ones from your kernel.

Signature · 1 line
dwmw2