public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* zlib versions
@ 2003-10-30 21:03 david stevenson
  2003-10-31 16:12 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: david stevenson @ 2003-10-30 21:03 UTC (permalink / raw)
  To: linux-mtd

Could someone please educate me on zlib?

I can compile kernel 2.4.21 with MTD updated from tarball 20031021 with jff2 
with no errors.
But when I try and compile the utils from the same tar ball, using the same 
kernel headers I get error file not found zlib.h.

I can compile the utils against the kernel headers on my host 2.4.20 without 
error. But I guess then the binaries will not run on the target machine?

The difference appears to be linux/zlib v1.1.3 or /zlib v1.1.4 but I am not 
sure what I should use to get utils that run.
Thanks
David

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: zlib versions
  2003-10-30 21:03 zlib versions david stevenson
@ 2003-10-31 16:12 ` David Woodhouse
  2003-10-31 18:49   ` david stevenson
  0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2003-10-31 16:12 UTC (permalink / raw)
  To: david stevenson; +Cc: linux-mtd

On Thu, 2003-10-30 at 21:03 +0000, david stevenson wrote:
> Could someone please educate me on zlib?
> 
> I can compile kernel 2.4.21 with MTD updated from tarball 20031021 with jff2 
> with no errors.
> But when I try and compile the utils from the same tar ball, using the same 
> kernel headers I get error file not found zlib.h.

Do you have the zlib-devel package installed? Are you compiling natively
or cross-compiling?

-- 
dwmw2

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: zlib versions
  2003-10-31 16:12 ` David Woodhouse
@ 2003-10-31 18:49   ` david stevenson
  0 siblings, 0 replies; 3+ messages in thread
From: david stevenson @ 2003-10-31 18:49 UTC (permalink / raw)
  To: linux-mtd

On Friday 31 October 2003 4:12 pm, David Woodhouse wrote:
> On Thu, 2003-10-30 at 21:03 +0000, david stevenson wrote:
> > Could someone please educate me on zlib?
> >
> > I can compile kernel 2.4.21 with MTD updated from tarball 20031021 with
> > jff2 with no errors.
> > But when I try and compile the utils from the same tar ball, using the
> > same kernel headers I get error file not found zlib.h.
>
> Do you have the zlib-devel package installed? Are you compiling natively
> or cross-compiling?

I am cross compiling - well actually it is from pentium to i386.

I do not know about zlib-devel, which probably means I don't have it.
But the kernel code includes include/linux/zlib.h which is included by 
/fs/jffs2/compr_zlib.c and this compiles OK. So I assumed I had all that was 
needed.

However in the util tree compr_zlib.c is looking for include/zlib.h, and I 
belive a different version.

If I need to get zlib-devel can you give a reference to where I get it from as 
I have seen confusing alternatives.

Thanks
David

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-31 18:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-30 21:03 zlib versions david stevenson
2003-10-31 16:12 ` David Woodhouse
2003-10-31 18:49   ` david stevenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox