Failed to build mkfs.jffs2
Hi,
I am using the version mtd-20050122 for a linux arm system, I can build mtd under arm-linux-gcc, but failed to build a host tool mkfs.jffs2 by "make CC=cc" in util directory on FC5. Please see following error messages. Is there any way to fix it, rather than to change a new version?
compr_zlib.c:65: error: ‘z_stream’ has no member named ‘zalloc' compr_zlib.c:66: error: ‘z_stream’ has no member named ‘zfree’
Thanks.
Jim
Quoted 7 lines · [email protected] wrote:
Hi,
I am using the version mtd-20050122 for a linux arm system, I can build mtd under arm-linux-gcc, but failed to build a host tool mkfs.jffs2 by "make CC=cc" in util directory on FC5. Please see following error messages. Is there any way to fix it, rather than to change a new version?
compr_zlib.c:65: error: ‘z_stream’ has no member named ‘zalloc' compr_zlib.c:66: error: ‘z_stream’ has no member named ‘zfree’
Quoted 10 lines
Thanks.
Jim
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Have you a zlib compiled for your target?
Regards Michael
Hi,
I've just realized you may be talking about to config mtd to enable ZLIB, is it correct? If yes, could you please explain how to config MTD, I saw Kconfig in fs directory, but I could not find mtd.config file?
Thank you.
Jim
Quoted 31 lines · Michael Trimarchi
Quoted 7 lines · [email protected] wrote:
Hi,
I am using the version mtd-20050122 for a linux arm system, I can build mtd under arm-linux-gcc, but failed to build a host tool mkfs.jffs2 by "make CC=cc" in util directory on FC5. Please see following error messages. Is there any way to fix it, rather than to change a new version?
compr_zlib.c:65: error: ‘z_stream’ has no member named ‘zalloc' compr_zlib.c:66: error: ‘z_stream’ has no member named ‘zfree’
Quoted 10 lines
Thanks.
Jim
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/Have you a zlib compiled for your target?
Regards Michael
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/