undefined reference to 'crc32' ?
Steven Scholz
steven.scholz at imc-berlin.de
Wed Dec 4 04:48:36 EST 2002
Thomas Gleixner wrote:
>
> On Saturday 30 November 2002 23:43, Joakim Tjernlund wrote:
> > CVS JFFS2 assumes that crc32() is avialable as a generic function. You
> > need my crc32 backport from 2.5 to 2.4. It's somewhere in the MTD
> > archives(I think). I don't have it handy ATM.
> I had no 2.4.20 kernel available, when I overhauled patchin.sh. I did not
> realize that 2.4.19 had include/linux/crc32.h also available.
>
> I changed patchin.sh so it supports those kernels too.
Hi,
I updated to the latest CVS this morning.
The problem with include/linux/crc32.h is solved. Thanks very much!
But, now I am having trouble with the new (rebuilt) mkfs.jffs2!!! It looks like
a endian problem:
I invoked mkfs.jffs2 as usual from within a script with:
mkfs.jffs2 -d $TMP -o flashdisk.jffs2 -b -p
But now I get loads of
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x8519
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0x0709
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0x4137
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0x1600
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0x1c00
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0xed81
instead
So "-b" seems not to be working... ???
My old version of mkfs.jffs2 is still wotking correctly!!!
Any ideas?
Thanks,
Steven
More information about the linux-mtd
mailing list