Hi Ralph,

At 11:03 AM -0500 2/5/05, you, Ralph Curtis wrote:
Has anyone succesfully built a static or shared library with 1.2.2
sources? I can build and use 1.1.4 (static). I can build 1.2.2 But
when I run with 1.2.2 build I get Z_DATA_ERRORs when inflating which
is all I am trying to use zlib for. I must be missing something in the
configuration but I can't see what it is. I want to try 1.2.2 because
the claim is that it is 20% faster and requires less memory. Any ideas
or experience to share?

I tried the same with 1.2.1 sources that successfully run on PocketPC and Symbian. But I also get Z_DATA_ERRORs when inflating. I haven't found out what's wrong yet, but when trying to debug into the code I found that inflate seems to consume MUCH more than set in avail_in. I would expect that a lib as mature as zlib does not have any bugs that would cause reading over the buffer, so I guess that either initialisation or access to one of the various tables does not work as expected. I tried to find out but hadn't enough time to trace it down, not really understanding the algorithm...


I'd be interested to hear if you find out something, and I'd be willing to share anything I might find (but I have a few other top priority todos that won't let me invest much time right now).

Regards,
--
Lukas Zeller ([EMAIL PROTECTED])
-
Synthesis AG, SyncML Solutions  & Sustainable Software Concepts
[EMAIL PROTECTED], http://www.synthesis.ch


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to