mkfs.jffs2.c not compiling for arm

MikeW mw_phil at yahoo.co.uk
Fri Aug 10 10:10:48 EDT 2007


Saravanan Chanemouganandam <schane <at> osmozis.com> writes:

> 
> Hello,
> 
> I am a newbie to use MTD tools. I have downloaded the latest version of the 
> mtd tools and when I try to cross compile mtd-utils-1.0.0 for the Xscale 
> platform, I am getting the following make error. 
> 
> sara:/home/sara/mtd-utils-1.0.0#make 
> CROSS=/scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/bin/arm-linux-
> ....
> /scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc -I./include 
> -O2 -Wall -g -c -o mkfs.jffs2.o mkfs.jffs2.c -g -Wp,-MD,.mkfs.jffs2.c.dep
> mkfs.jffs2.c:68:18: zlib.h : No such file or directory
> make: *** [mkfs.jffs2.o] Error 1
> rm ftl_check.o mkfs.jffs.o flash_erase.o ftl_format.o nanddump.o 
> doc_loadbios.o
> 
> The host development machine has already installed with supporting Zlib 
> libraries but still it couldn't find the file. 
> 
> Can anyone precise me, is there any missing build options ?
> 
> thanks
> Sara

Your crosscompiler toolchain ought to have supplied this file
in one of its include directories.

For example using ELDK/mips it's in /opt/eldk/mips_4KCle/usr/include .

Regards,
MikeW




More information about the linux-mtd mailing list