From: Josh Boyer <jwboyer@linux.vnet.ibm.com>
To: Saravanan Chanemouganandam <schane@osmozis.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: mkfs.jffs2.c not compiling for arm
Date: Thu, 9 Aug 2007 11:38:22 -0500 [thread overview]
Message-ID: <20070809113822.0bfbcbfc@zod.rchland.ibm.com> (raw)
In-Reply-To: <200708091734.24054.schane@osmozis.com>
On Thu, 9 Aug 2007 17:34:23 +0200
Saravanan Chanemouganandam <schane@osmozis.com> wrote:
> 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 ?
You need the zlib-devel package installed. That puts zlib.h
in /usr/include/
josh
next prev parent reply other threads:[~2007-08-09 16:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-09 15:34 mkfs.jffs2.c not compiling for arm Saravanan Chanemouganandam
2007-08-09 16:38 ` Josh Boyer [this message]
2007-08-09 21:02 ` Lennert Buytenhek
2007-08-10 14:10 ` MikeW
2007-08-10 14:35 ` Saravanan Chanemouganandam
2007-08-12 5:14 ` Mike Rapoport
2007-08-13 8:56 ` Saravanan Chanemouganandam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070809113822.0bfbcbfc@zod.rchland.ibm.com \
--to=jwboyer@linux.vnet.ibm.com \
--cc=linux-mtd@lists.infradead.org \
--cc=schane@osmozis.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox